snackup (was: Re: [gentoo-user] backup to a cold-swap drive)

2010-05-07 Thread Alex Schuster
Iain Buchanan writes: On Thu, 2010-04-29 at 16:44 +0200, Alex Schuster wrote: using this script, adapted to their needs, I started to rewrite it in a way that it reads a config file, and no modification of the script itself is necessary. If anyone is interested, send me an email.

Re: snackup (was: Re: [gentoo-user] backup to a cold-swap drive)

2010-05-07 Thread covici
Alex Schuster wo...@wonkology.org wrote: Iain Buchanan writes: On Thu, 2010-04-29 at 16:44 +0200, Alex Schuster wrote: using this script, adapted to their needs, I started to rewrite it in a way that it reads a config file, and no modification of the script itself is necessary. If

Re: [gentoo-user] backup to a cold-swap drive

2010-05-04 Thread Alex Schuster
Iain Buchanan writes: On Thu, 2010-04-29 at 16:44 +0200, Alex Schuster wrote: [snip] All my partitions are LVM volumes, so before the backup starts, I make a LVM snapshot of the partition. This way I can modify it while the backup is still in progress. hmm, never got into LVM.

Re: [gentoo-user] backup to a cold-swap drive

2010-05-03 Thread Iain Buchanan
On Thu, 2010-04-29 at 16:44 +0200, Alex Schuster wrote: [snip] All my partitions are LVM volumes, so before the backup starts, I make a LVM snapshot of the partition. This way I can modify it while the backup is still in progress. hmm, never got into LVM. Sounds interesting though...

Re: [gentoo-user] backup to a cold-swap drive

2010-05-03 Thread Iain Buchanan
On Fri, 2010-04-30 at 16:24 +0200, Florian Philipp wrote: Am 29.04.2010 02:38, schrieb Iain Buchanan: Hi thanks, On Wed, 2010-04-28 at 17:31 +0200, Florian Philipp wrote: [...] If you can live with just one big partition as a backup (probably with separate /boot), you should

Re: [gentoo-user] backup to a cold-swap drive

2010-04-30 Thread Florian Philipp
Am 29.04.2010 02:38, schrieb Iain Buchanan: Hi thanks, On Wed, 2010-04-28 at 17:31 +0200, Florian Philipp wrote: [...] If you can live with just one big partition as a backup (probably with separate /boot), you should replace fstab and grub.conf on the backup medium and blacklist them

Re: [gentoo-user] backup to a cold-swap drive

2010-04-29 Thread Alex Schuster
Iain Buchanan writes: A winblows colleague said he uses a utility to backup his internal hard drive to an external disk, such that if his internal disk fails he can replace it with the external disk and continue straight away. I do the same, but with a 2nd internal drive. The drive is

Re: [gentoo-user] backup to a cold-swap drive

2010-04-28 Thread Florian Philipp
Am 28.04.2010 03:41, schrieb Iain Buchanan: Hi, A winblows colleague said he uses a utility to backup his internal hard drive to an external disk, such that if his internal disk fails he can replace it with the external disk and continue straight away. Since I go to weird locations with

Re: [gentoo-user] backup to a cold-swap drive

2010-04-28 Thread Frank Steinmetzger
Am Mittwoch, 28. April 2010 schrieb Iain Buchanan: Hi, A winblows colleague said he uses a utility to backup his internal hard drive to an external disk, such that if his internal disk fails he can replace it with the external disk and continue straight away. Since I go to weird locations

Re: [gentoo-user] backup to a cold-swap drive

2010-04-28 Thread Iain Buchanan
Hi thanks, On Wed, 2010-04-28 at 17:31 +0200, Florian Philipp wrote: Can md use one internal and one external disk in a RAID 1 setup, with the external disk not always there? Any other suggestions? thanks :) md would be extremely slow because it has to rebuild/resync the complete

Re: [gentoo-user] backup to a cold-swap drive

2010-04-28 Thread Iain Buchanan
Hi, On Wed, 2010-04-28 at 23:16 +0200, Frank Steinmetzger wrote: After I upgraded my laptop with an internal HDD of 500 GB, I started using my old external 500 GB drive as backup. Though of different dimensions and makers, they both have the same number of sectors. So I dd'ed the entire

Re: [gentoo-user] backup to a cold-swap drive

2010-04-28 Thread Iain Buchanan
On Wed, 2010-04-28 at 23:16 +0200, Frank Steinmetzger wrote: rsync -aX --delete / /dev/backup root partition/ -a (archive) copies permissions, ownerships and the likes -X stops at file system boundaries, i.e. it will only backup the actual root partition, without other mounted file systems

[gentoo-user] backup to a cold-swap drive

2010-04-27 Thread Iain Buchanan
Hi, A winblows colleague said he uses a utility to backup his internal hard drive to an external disk, such that if his internal disk fails he can replace it with the external disk and continue straight away. Since I go to weird locations with unreliable power and sometimes drop my laptop I