From: Les M. <le...@fu...> - 2008-04-02 15:46:06
|
Hervé Richard wrote: >> >> Since you have 2 disks, you could just start from scratch on one of >> them and wait until it has a complete set before you swap again. >> Another approach is to always run on an internal drive, but >> periodically image-copy to a matching external disk that you rotate >> offsite. I do it that way myself but recently switched from firewire >> externals to a swappable SATA enclosure. I do the mirroring with >> software raid, but it would work as well to unmount the partition >> temporarily and dd it. > > By "start from scratch" you mean comment the backuped host in the > "hosts" file, let BackupPC running and deleting all backup made? > Or what I have to delete manually? You can go as far as making a new file system on one of the drives and copying over everything except the contents of cpool and the backups under the pc directories. Or, if backuppc_Nightly is working now you might not need to start over. > For now backup hdd is connected as JBOD to the main RAID controller. I > made a script which is executed via Webmin to stop/start backuppc, > umount/mount the hdd, remove it from RAID controller/rescan the > controller for new inserted disk. > > Nice tips you told here :-) > With a swappable SATA enclosure I could dd one backup of 2 weeks on one > hdd and the backup of the following 2 weeks on the other one and do the > rotation... I'll think about it. My current system is using one of these with 750 gig drives: http://www.startech.com/Product/ItemDetail.aspx?productid=HSB320SATBK&c=US and I use mdadm to fail/remove/add the disks that rotate, momentarily stopping backuppc and unmounting to get a clean filesystem. On a smaller system I might consider the laptop-form external USB drives that you can get in sizes to 250 gigs now and just unmount and dd the internal partition to it. -- Les Mikesell les...@gm... |