Stefan Degen wrote:

/var/lib/backuppc has its own harddisk. The problem is, that the
harddisk is full and there is no LVM or RAID.

So is it possible to change the harddisk like this (without to
lose the backups)?

1. stop backuppc

2. Install the new harddisk and set the mountpoint
to /var/lib/backupc

3. copy all data stored on the old harddisk to the new one with
rsync -H /old_harddisk /new_var/lib/backuppc

4. start backuppc

rsync -paH or something might be better, but because of all the hardlinks it might take quite a while to copy all the data. The fastest way to copy and preserve everything is probably to use dd to copy everything to the new drive and then grow the filesystem afterwards.

Nils Breunese.

P.S. You could also just start over and keep the old disk around for emergency...

Attachment: PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to