Re: Seeking Wisdom Concerning Backups



Owen Townend wrote:


On 2/29/08, *Kent West* <westk@xxxxxxx <mailto:westk@xxxxxxx>> wrote:

I have a small server on which I need to backup the /home partition.

I have a Barracuda Terastation Pro backup server sitting right next to
it, connected via Ethernet.

I don't need anything fancy; just simple and reliable.


Hey,
If all is working except for the 2GB file limit (documented or otherwise) you can just use 'split' to break the archive into smaller parts:
eg:
`split -b 2000m backup.tar.gz backup.tar.gz.`
or pipe tar straight to it:
`tar ${your-args} | split -b 2000m - backup.tar.gz.`

You can then join them by using 'cat':
`cat backup.tar.gz.* > backup.tar.gz`

This sounds very promising, but I can't seem to wrap my brain around the syntax required. I just tried this command:

sudo tar -cvzf /TERASTATIONBACKUP/2008Feb29.tgz /home | split -b 2000m - 2008Feb29.tgz

and almost immediately got an "no drive space left" error. Then looking at "df -h", I see that my smallish / partition (463MB) is full, so I've got to see what's eating up that space (I think it's because a new kernel was automagically installed - somehow or 'nuther it seems when I installed Debian on this box the default install installed whatever kernel package automatically pulls in the latest version of that kernel rather than leaving it fixed until I specifically specify an upgrade. I'm not quite sure how to "fix" that. And I don't really want to have to reboot yet to activate the newest .point upgrade so I can remove the older one taking up disk space. I should've made my / partition twice as large as I did, I reckon.)

The /TERASTATIONBACKUP is a mount-point that Samba mounts the TeraStation Pro's SMB share. I'm trying to create a file named "2008Feb29.tgz" on that share, containing the tarred/split contents of /home. Have I used the correct syntax for what I'm trying to accomplish?

Thanks!

--
Kent


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Windows on Mac - how to.
    ... No-nonsense instructions for those "in the know". ... A custom slipstreamed CD is required to install XP on a Mac. ... This procedure WILL WIPE YOUR iMAC DISK CLEAN. ... Partition the disk in two using the OSX CD: ...
    (uk.comp.sys.mac)
  • Re: xp on intel Mac from usb stick?
    ... Would it be possible to run windows xp native from a usb stick? ... A custom slipstreamed CD is required to install XP on a Mac. ... partition managers but if you're feeling adventurous you may ... This procedure WILL WIPE YOUR iMAC DISK CLEAN. ...
    (comp.sys.mac.apps)
  • Re: Dual boot problem
    ... The install went smoothly but when the computer restarted it ... went straight into Windows XP and the Grub Bootloader did not appear! ... One produced the same problem) For some reason the Grub bootloader had ... install GRUB on the first track on the partition where I installed ...
    (comp.os.linux.setup)
  • Re: Reinstallation erases all?
    ... W2 is active on C and only visible in PM and install. ... I'll take a look at Paragon as are in that Boot CD I linked to. ... Active partition status to the partition that it was on before this mess ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: XP multiple install earth to bruce hello?
    ... different drive letter for the "boot" partion. ... the BIOS will find the partition that is marked "Active" - usually ... you install an additional hard drive, the existing mapping of drive letters ...
    (microsoft.public.windows.group_policy)