General :: Make Incremental Backups On A Separate Partition Of The Same Hard Drive?
Jan 22, 2010
one would have to exclude certain folders / directories but would the backup be possible if the system is up and running in its native "live" state ? Which directories could be excluded ? Does swap need to be turned off ? I would like to make incremental backups on a separate partition of the same hard drive. I will endeavour to backup the MBR/ Partition table using dd.
View 6 Replies
ADVERTISEMENT
Nov 12, 2009
How do you get Rsync to do incremental backups rather than full backups? At the moment I have a script that will create a backup folder (if it doesnt already exist) then copy the source files into the backup directory with the command
rsync $VERBOSE --exclude=$TARGET/ $EXCLUDE --exclude '/Ls-wtgl1c8/**' -rt --delete $source/ $TARGET/$source/ >> $LOG_FILE
Target is where the files will be backed up to Sources is the dir(s) to be backed up Exclude files is the list of files not to backup
log file is where the output will be saved to. At the moment it only does full backups, but I would only like to do incremental, how would this be achieved? Am I missing out an option in the Rsync that is required.
View 9 Replies
View Related
Jan 21, 2010
I am using rsync to backup dirs on my ubuntu server onto a NAS (which is mounted onto the filesystem), but the problem is that it is constantly doing full backups rather than doing incrementals and I am not really sure why. After doing a bit of expermienting with the script I noticed that if I just backed up a home dir (/home/user) the incremental backups work fine. If however I was to back up a dir like (/home/domain/user) it always does full backups.I have tried various different scripts but still the same end result. The latest script is a variation on the a script found on the samba rsync examples webpage, see below...
#!/bin/bash
# rsyncbu.sh -- backup to nas using rsync
# This script backups files listed in BDIR to the BSERVER. The verbose output along with the date is listed in the LOG_FILE specified
# verbose output
[code]....
View 4 Replies
View Related
Jan 29, 2010
Can I use rsync for incremental backups of the running linux server?
View 5 Replies
View Related
Dec 2, 2010
With the --backup and --backup-dir= options on rsync, I can tell it another tree where to put files that are deleted or replaced. I'm hoping it fills out the tree with a replica of the original directory paths (at least for the files put there) or else it's a show stopper. What I'm wanting to find out applies when I'm restoring files. Assuming each time I run rsync (once a day) I make a new directory tree (named by the date) for the backup directory. For each file name/path in the tree, I would start with whatever is in the main tree (the rsync target) and work through the incremental trees going backwards until I reach the date of interest to restore to. If along the way I encounter a file in an incremental, I would replace the previous file at that path with this next one. So by the time I get back to a given date, I should have the version of the file which was present at that date. Do this for each file in the tree and it should be a full restore.
But ... and this is the hard part, it seems. What about files that did not exist at the intended restore date, but do exist (were created) on a date after the intended restore date. What I'd want for a correct restore would be for such files to be absent in the restored tree (just as they were absent in the source tree on that date). How can such a restore be done to correctly exclude these files? Wouldn't rsync have to store some kind of sentinel that indicates that on dates prior, the file did not exist. I suspect someone might suggest I just make a complete hard linked replica tree for each date, and this way absent files will clearly be absent. I can assure you this is completely impractical because I have actually done this before. I ended up with backup filesystems that have so many directories and nodes that it could take over a day, maybe even days, to just do something like "du -s" on it. I'm intending to keep daily changes for at least a couple years, if not more. So that means the 40 million plus files would be multiplied by over 700, making programs like "du -s" have to check over 28 BILLION file names (and that's assuming the number of files does not grow over the next two years).
View 2 Replies
View Related
Mar 16, 2010
My parents bought a new hard drive for a laptop that I've owned for several years. It's much larger than the current one, so I plan on splitting it up to dual boot it with Ubuntu.I have no problem with partitioning a drive (I always keep a LiveCD handy), but my question is this: how can I go about moving the existing partition to the new drive? This is a laptop, so I can't simply plug the new drive into another slot.
Also, even if I manage to move it, will Windows still work on the new drive in a larger partition? I've had this laptop for quite a while, and I've lost the recovery discs that came with it a long time ago. I also have a lot of software without CDs to reinstall them with. This makes not reinstalling Windows a high priority.
View 3 Replies
View Related
Nov 29, 2010
I've had several HDD crashes on my personal server over the years and it's just gotten to be a real pain in the rear. Crashed again this morning. Currently, I make monthly tarball backups of the entire filesystem using my script:
Code:
#!/bin/sh
# Removes the tarball from the previous execution.
rm -rf /backup/data/*.tar.gz
[code].....
View 13 Replies
View Related
Mar 23, 2010
I am trying to move a whole bunch of files from one partition on one hard drive to the same partition on another hard drive. Can I mount the same partition (same name, different drives, i.e. /data on /dev/hda1 and /data on /dev/hdb1)and copy those files? Shutdown the server, take out /dev/hda1 and boot up with the new drive and it's /data contents.
View 1 Replies
View Related
Jul 14, 2010
What im trying to do is install ubuntu on to an external hard drive, partition it and make it work. ive got a problem, as i have 200GB of games and other things already on that drive, before you say "copy it to another drive and then back" i cant, i dont have any other drives apart from my internal which has only got 20 gig left
View 5 Replies
View Related
Jul 4, 2011
I was trying to create a partition on my hard drive on Linux using the GParted program. I noticed my hard drive had a key next to its name but could not find information regarding it online. I proceeded to unmount the drive and made 2 partitions. However, it game me an error saying it couldnt make the partitions. I turned my computer off thinking i would get back to trying tomorrow. Today i turn on my laptop and see the usual hp screen. But after that it goes to a black screen with a blinking underscore looking thing. It goes nowhere from there. It usually goes to a black screen after the hp logo, that says GRUB loading.
View 7 Replies
View Related
May 3, 2010
Dropbox will not start properly because my Lucid installation is on a SS HD (/dev/sdc) but my data, including my Dropbox folder is on an internal NTFS-formatted HD (/dev/sda), and I also have another internal HD for backups (/dev/sdb).
For some reason I can get the backups HD to auto-mount on startup, but not the data HD. My fstab file looks like this:
View 3 Replies
View Related
Jun 18, 2011
I am taking a course to truly learn Linux and am attempting to install Slackware 13.X to a separate USB hard drive. The intent is to keep Windows while learning Linux, and all I have to do is insert the USB drive when needed. I am using cfdisk and have no difficulty getting to the point where it wants me to partition the hhd. However, whether I have the USB connected or not, it will always present the HDA for partitioning. How do I tell cfdisk to recognize and set partitions on the USB hard drive? (i.e.) What is the command?
View 9 Replies
View Related
Aug 5, 2010
I run several OSes (all Linux) on my computer. I set a separate partition for each one. I want to run Fedora 13 LXDE mainly for a game or two that are in the Fedora repos but not in any others, so I will not need a lot of space. But I want to make sure there is enough room for the OS.
I want to be able to play CloneKeen, so I will need enough space for that. I may find some other games, as well, so I will need some extra space. I have my other two OSes on six GB apiece, and Peppermint actaully uses barely half of that. Will 6GB be enough for a basic Fedora install with a few games installed? I will not really use Fedora for anything else, probably.
View 4 Replies
View Related
Feb 15, 2010
I have a file on a separate hard drive and it wont allow me to delete it.how I navigate to it in the terminal so I can remove directory there? I plug my usb lead in and go /hoome/boo/Iomega_HDD (name of the hard drive)but I cant get there,it doesnt show up as a directory.
View 3 Replies
View Related
Mar 4, 2010
I'd like to install Lucid on a spare hard drive I have, so I can do my bit for testing it. I have a feeling that if I just burn the latest alpha .iso and install from that, it will replace my current GRUB, whereas I would prefer to simply add the Lucid install as an option in my current GRUB.
Of course I might be wrong, I just wanted to check before I went ahead with it. I was unable to find the info I needed via searching.
View 6 Replies
View Related
Jul 28, 2010
I would like to have 1 hard drive operate with Ubuntu 10.04 and another with Windows 7 Pro, with a proper boot selection menu when I boot up my computer.
View 5 Replies
View Related
Sep 29, 2010
I have Windows 7 x64 on a RAID0 Setup and have a separate 120GB Hard Drive and want to DualBoot with Ubuntu! How do I go by doing that seeing that LiveCD is not detecting Windows 7 Loader?
Twitpic : [URL]
View 3 Replies
View Related
Sep 21, 2009
I'm trying to install Ubuntu 9.04 on an HP Compaq dc5000 uT with Windows XP Pro. service pack 3. Downloaded the ISO file and burned a CD with Infra Recorder. The demonstration version works ok as far as I can tell, this is my first try at using any form of Linux. If I can get Ubuntu to work I plan to get rid of Windows completely. I'm stuck at step 4 of the install process, all options in the partition window are dimmed, nothing is clickable.
View 10 Replies
View Related
May 5, 2010
Saw a reference to putting the swap partition on a separate drive--just minutes after I was considering that approach. Can't find anything recent on the topic, so asking: Is there an advantage to having /swap on a separate HD from data on /home? My thought was that both disks could be active at once, perhaps speeding up a busy application.
View 1 Replies
View Related
Nov 1, 2010
I have a second hard drive in my desktop and both the main dirve and second drive are 250GB. I use the second drive for backups, both manual and using back in time. The other day I noticed that the second drive was formated in FAT32. If I go to disk utility and look at the drive it says:Usage:FilesystemPartition Type:Linux (0x83)Type:FAT(32-bit version)Is this ok? I thought in Linux it should be Ext4. So far its been working fine for a while now but if I need to move my files and re format it to ext4 and move them back I would rather do it now when there is less data on the drive.
View 3 Replies
View Related
Nov 2, 2010
I want to move the entire contents of my backup HD to another HD. I could manually copy everything, but I was hoping to clone the entire backup hard drive. I tried to do it with Gparted, but as far as I can tell, I can't clone between drives, only between partitions on the same drive (I've done that before). So how can I do this in Linux? I think one of my drives came with a cloning utility on a CD, but I'm not sure I still have the CD.
View 2 Replies
View Related
Nov 13, 2010
What is one of the best ways to partition my hard drive? It's 110GB. I will be installing Fedora with XFCE but I want to also install other linux distro on the same laptop to experiment and I want to have the iso on the hard disk and install them from the hard disk. I'm not sure how many distro I will try but I could remove the ones I don't like.
View 8 Replies
View Related
Mar 23, 2011
I want a subset of files on a usb to be less likely to corrupt or, have any contact with/ acess to, the rest of the files on the usb.
Q: is there any advantage in putting the subset on a separate partition within the USB drive?
View 1 Replies
View Related
Jun 30, 2010
I am using Asus eee PC model 1001P and I am running ubuntu netbook remix on it. I have a 160 GB hard drive. When I was installing ubuntu I assigned only 50 GB for it, thinking that I will use the remaining partition for windows. But right now after using UNR, I don't want to use windows at all. Is it possible that I can assign the remaining 100 GB unassigned partition back to Ubuntu without reinstalling the whole operating system again?
View 4 Replies
View Related
May 9, 2011
I have never used rsync before, only DD. But from what I have been reading, rsync is better becasue it will basically mirror your hard drive, thus being able to run the cloned software from the new hard drive. My problem is I do not know what is the best commands or even the basic commands to use in rsync. I am trying to make an image from a external hard drive to a usb drive. That way my chances of messing up he original software is not as risky becasue I'll just restore the image onto another hard drive. Does anyone know the best script to have rsync make an image file of a hard drive and place it on a usb drive and then restore it?
View 8 Replies
View Related
Aug 16, 2009
install fedora 11 on Vista I want to keep the windows boot loader and also install on a usb drive or a seperate partition that has 10GB free "install doesn't see partition's". Recently I installed ubuntu and had a major problem with booting, without having the usb drive connected I couldn't boot windows so uninstalled it. I'm trying to install now but install does'nt give me any option to select partitions from my drives one 320GB "portable, 3 partitions" and 80GB "main os 2 partitions one partition has 10GB free"
View 3 Replies
View Related
Mar 1, 2010
I have a small IT consulting business and I am finding many of my clients couldn't afford Microsoft solutions and thus, going without... So a revelation hit me that I could offer Linux solutions, its just that I'm not a Linux guru... So after much research and installations of nearly every latest Linux distro, I decided on ClearOS as a good option for my clients that just require a good File/Print server, firewall and VPN solution... Everything was going fine until I got to the point where I was trying to get it to do backups to a USB drive... ClearOS does not come with the ability to do such, so from further research I found that I could install Webmin to handle that task and that it would not break ClearOS... Great, its just that its not working... It says its working, but its not.
[Code]...
Next I hit the "Save and Backup Now" button to test it out... all says it goes good... But when I check the device, there's nothing saved to it...
So I create another "Filesystem backup", I select the FlexShare directory that I want backed up and this time I select a local directory for the backup to go to... I hit the "Save and Backup Now" button to test it out. all says it goes good... But once again when I check the directory, there's nothing saved to it.
View 1 Replies
View Related
Mar 3, 2010
I have a small IT consulting business and I am finding many of my clients couldn't afford Microsoft solutions and thus, going without... So a revelation hit me that I could offer Linux solutions, its just that I'm not a Linux guru... So after much research and installations of nearly every latest Linux distro, I decided on ClearOS as a good option for my clients that just require a good File/Print server, firewall and VPN solution... Everything was going fine until I got to the point where I was trying to get it to do backups to a USB drive... ClearOS does not come with the ability to do such, so from further research I found that I could install Webmin to handle that task and that it would not break ClearOS... Great, its just that its not working... It says its working, but its not...
So here's what I got, ClearOS 5.1 with Webmin 1.5
Here's what I have done to try to make it work after a good installation...
Under "Hardware" and "Partitions on Local Disks", it shows the USB drive as Device B... So I create a partion called "/dev/sdb1" Great, I'm thinking...
So I go to "System" and under "Filesystem backup", I select the FlexShare directory that I want backed up and then I select "/dev/sdb1" as the backup to device...
Next I hit the "Save and Backup Now" button to test it out... all says it goes good... But when I check the device, there's nothing saved to it...
So I create another "Filesystem backup", I select the FlexShare directory that I want backed up and this time I select a local directory for the backup to go to... I hit the "Save and Backup Now" button to test it out... all says it goes good... But once again when I check the directory, there's nothing saved to it...
View 3 Replies
View Related
Dec 19, 2010
I have inherited a network server running Redhat Enterprise (4?) which uses an external USB drive for backups. These have been scheduled to run at midnight each night.I want to use 2 external drives to hold the backups (exchanging the usb drive each day). My question is: Is there anything I need to do to a new USB drive before exchanging the drives (eg. formatting etc) or can I simply just plug the new one in and let it run?I apologise for the very basic nature of this question but I have no clue about Linux.
View 6 Replies
View Related
Apr 14, 2010
I have an ubuntu (8.04.3) server where I use bacula to make backups of the files stored on the server. Ive been trying to find a solution (with no luck) trying to succesfully implement the following:-
A Backup tape for each day of the week besides Thurs which is resused on a weekly basis. For the thursday tapes we have a backup tape corresponding to the week number that the thursday falls so for the first thursday of the month it would be ThursOne For example. These tapes are resued on a monthly basis. We then have a monthly tape that is used on the last thursday of the month. These tapes will be resused on a yearly basis.
Another requirement is just in case a tape is accidently not changed a backup should still occur regardless of what tape is in the drive (so if its tuesday and mondays tape is still in the tape drive it should rewrite that tape).
I did have this successfully set up where the tape was appended after each use rather than being recycled after the nightly backup. But then after a few weeks I would have to manually purge tapes when they became full (which isnt ideal - as Im not always in the office so in my absence it may be that a backup may not take place), so have been playing around and have now got the tapes to be marked as used after a max of 2 jobs (so the backup of the files and the catalog of the night). I also added this line 'Recycle Current Volume = yes' so that it would hopefully recycle the volume in the drive.
However what I am finding is that the tape that should be recycled is not, but in yesterday case the Mondays tape was recycled rather than the Tuesday although Mondays was the last written so Im not even sure why it choose to recycle this tape.
View 1 Replies
View Related