On Aug 29, 2006, at 12:17 PM, James Dickens wrote:
ZFS + rsync, backup on steroids.
I was thinking today about backing up filesystems, and came up with an
awesome idea. Use the power of rsync and ZFS together.
Start with a one or two large SATA/PATA drives if you use two and
don't need the space you can mirror other wise just use as in raid0,
enable compression unless your files are mostly precompressed, use
rsync as the backup tool, the first time you just copy the data over.
After you are done, take a snapshot, export the pool. And uninstall
the drives until next time. When next time rolls around have rsync
update the changed files, as it does block copies of changed data,
only a small part of the data has changed. After than is done, take a
snapshot.
Now thanks to ZFS you have complete access to incremental backups,
just look at the desired snapshots. For now rsync doesn't support
nfsv4 acls, but at least you have the data.
Yes I concur. This is how we do our backups, rsync + rolling over
snapshots.
For example,
# ls -l /backups-4/pacific/.zfs/snapshot/
total 105
drwxr-xr-x 12 root sys 12 Feb 19 2006 20060620/
drwxr-xr-x 12 root sys 12 Feb 19 2006 20060621/
drwxr-xr-x 12 root sys 12 Feb 19 2006 20060622/
drwxr-xr-x 12 root sys 12 Feb 19 2006 20060623/
drwxr-xr-x 12 root sys 12 Feb 19 2006 20060624/
drwxr-xr-x 12 root sys 12 Feb 19 2006 20060625/
drwxr-xr-x 12 root sys 12 Feb 19 2006 20060626/
drwxr-xr-x 12 root sys 12 Feb 19 2006 20060627/
drwxr-xr-x 12 root sys 12 Feb 19 2006 20060628/
drwxr-xr-x 12 root sys 12 Feb 19 2006 20060629/
[emi:/] root# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
backups4 3.81T 3.39T 434G 88% ONLINE -
Regards, J
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
Jason A. Hoffman, PhD | Founder, CTO, Joyent Inc.
Applications => http://joyent.com/
Hosting => http://textdrive.com/
Backups => http://strongspace.com/
Weblog => http://joyeur.com/
Email => [EMAIL PROTECTED] or [EMAIL PROTECTED]
Mobile => (858)342-2179
••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss