merlinsilk
Verified User
- Joined
- Feb 16, 2009
- Messages
- 32
I learned from John (http://www.directadmin.com/forum/showthread.php?p=194797) - thanks, John - that the admin backup of users has the tar command (mostly) hard-coded. That means I always get backup files in the form user.admin.xxx.tar.gz where xxx is the user's name and gz means that I get a zipped file.
Generally that is a good solution, with two exceptions as far as I can see:
1. I have plenty of disk space - there is no need to invest the resources to zip possibly huge tar files - creating the tar instead of the tar.gz is quite a bit faster and much easier on the processor - and disk space is getting cheaper and cheaper.
2. If I want to use rsync to maintain a copy on a different machine. zipping the files negates rsync's feature to send only the differences over the (possibly paid for) line to another machine. Change only a single byte in the source for a zipped file and the whole zip changes.
For these two reasons I would like to request an option to create either .tar.gz or just plain, uncompressed .tar files.
I did a test for my VPS and here are the results:
about 1.5GB in user backups. Not much has changed on the sites during the day, a few blog posts added and log files and stats. When using rsync to copy these files over to a mirror machine, nearly 1.5GB had to be transferred.
When I ungzipped those files before the rsync I used just a bit over 1% of that bandwidth - 16MB instead of 1.5GB!
So, pretty please, can I get this option for backup?
Cheers,
Merlin
Generally that is a good solution, with two exceptions as far as I can see:
1. I have plenty of disk space - there is no need to invest the resources to zip possibly huge tar files - creating the tar instead of the tar.gz is quite a bit faster and much easier on the processor - and disk space is getting cheaper and cheaper.
2. If I want to use rsync to maintain a copy on a different machine. zipping the files negates rsync's feature to send only the differences over the (possibly paid for) line to another machine. Change only a single byte in the source for a zipped file and the whole zip changes.
For these two reasons I would like to request an option to create either .tar.gz or just plain, uncompressed .tar files.
I did a test for my VPS and here are the results:
about 1.5GB in user backups. Not much has changed on the sites during the day, a few blog posts added and log files and stats. When using rsync to copy these files over to a mirror machine, nearly 1.5GB had to be transferred.
When I ungzipped those files before the rsync I used just a bit over 1% of that bandwidth - 16MB instead of 1.5GB!
So, pretty please, can I get this option for backup?
Cheers,
Merlin