Backing up bsds and linux
Hi
I want to backup my OpenBSD, Freebsd, MacBook and Linux completely all on the same external usb hard-drive(which is a 1 TB drive). So should i create a partition, using disk-utility, for HFS+. Then use fdisk for allocating space/creating slices using OpenBSD and then FreeBSD. Then use cfdisk to create partitions for Linux. Then use timemachine to backup the MacBook. Then use: Code:
#dump -OLauf /usb-drive/mount/point /dev/ad0s1a Then use: Code:
tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys / I would have to know the exact size of the fdisk slices for the BSDs.But i could find that out easily through fdisk. Also would i have to use fdisk for the linux backup.tgz, or could i just put this file straight on the external usb drive?. Please could someone tell me the best way to do this?. I already know how to do it over the network(sending all filesystems to the MacBook, which has the external usb drive mounted on it's filesystem). I would like to know how to do it straight onto the external usb drive, for all these systems. This way i would have more than one method at my disposal and could choose which way to do it, now and in the future. After the systems have all been copied to the external drive i will use rsync to only back up the parts of each filesystem that have changed. I just need to know if the method i plan to use is correct? etc... Thank you very much for your time. Thankx for any replies too. |
In case you're wondering. I just want a way of returning to a known good system in the event of a serious mishap. I don't need clones for forensics, just a way of having the original systems recovered.
Thankx |
Would Clonezilla meet your needs? I have only used on/for Linux, but:
From http://www.clonezilla.org/: Quote:
|
As far as the issue of having all of those differents FS's goes, I suggest formatting it with 1 FS and exporting it via NFS (AFP is better for Time Machine in my experience, but a single FS can still be exported as both) thus creating a virtual FS that all 3 OS's can read/write to/from. As far as the actual backing program goes, I hear that rsync is good as it only backups what it needs to rather than everything on your disk. The method that I use personally is tar cvjpf 201103040211system.backup.tar.bz2 --exclude=/ --exclude=/backup --exclude=foo / and compress it with bzip2 -9.
|
All times are GMT -5. The time now is 05:45 PM. |