Mark Phillips
2015-10-30 17:09:43 UTC
I have been using rsnapshot for awhile to backup two computers. The backup
drive is getting full. The backups for computer A are very large, and the
backup for computer B are much smaller. I have daily (0-6), weekly (0-4),
and monthly (0-4) backups. Under each of these directories, I have
directories A and B for the two computers. Eg the file structure is:
backup
daily.0
A
home
etc
B
home
etc
daily.1
A
B
......
I was wondering if I can do the following without messing up the backups I
have.
1. Copy all the backup files to a new larger hard drive (eg cp -a to
preserve links and file attributes).
2. Delete all the computer B directories from the new drive.
3. Delete all the computer A directories from the old drive.
4. Create a new rsnapshot.conf file that points to the new drive for the
computer A backups and just backs up computer A.
5. Remove the computer A backup information from the existing rsnapshot.
conf file.
6. Add cron new daily, weekly, and monthly entries for computer A using the
-c option for the new rsnapshot.conf file. Change the cron entries for
computer B to use the old rsnapshot.conf file with the -c option.
I would expect the the backups will continue without an issues - computer A
is backed up to the new larger drive, and computer B is backed up to the
old drive which now has a lot more free space.
Will this plan work? I assume there are not shared links between the
backups for the two computers. Do I need to verify this somehow?
Are there other cp options I need to use for this move?
Thanks,
Mark
drive is getting full. The backups for computer A are very large, and the
backup for computer B are much smaller. I have daily (0-6), weekly (0-4),
and monthly (0-4) backups. Under each of these directories, I have
directories A and B for the two computers. Eg the file structure is:
backup
daily.0
A
home
etc
B
home
etc
daily.1
A
B
......
I was wondering if I can do the following without messing up the backups I
have.
1. Copy all the backup files to a new larger hard drive (eg cp -a to
preserve links and file attributes).
2. Delete all the computer B directories from the new drive.
3. Delete all the computer A directories from the old drive.
4. Create a new rsnapshot.conf file that points to the new drive for the
computer A backups and just backs up computer A.
5. Remove the computer A backup information from the existing rsnapshot.
conf file.
6. Add cron new daily, weekly, and monthly entries for computer A using the
-c option for the new rsnapshot.conf file. Change the cron entries for
computer B to use the old rsnapshot.conf file with the -c option.
I would expect the the backups will continue without an issues - computer A
is backed up to the new larger drive, and computer B is backed up to the
old drive which now has a lot more free space.
Will this plan work? I assume there are not shared links between the
backups for the two computers. Do I need to verify this somehow?
Are there other cp options I need to use for this move?
Thanks,
Mark