
Create a tgz file backup on linux/unix
| tar -cvzpf Backup.11.15.2008.tgz foldername |
This makes backup super easy
Related posts:
- VBS Script to Delete Old Files I have setup my web hosting service to FTP my...
- QDir File Management Well I have never been a big fan of Windows...
- MySQL Dump and Load Commands I have had to do this a lot lately with...
Related posts brought to you by Yet Another Related Posts Plugin.
February 25th, 2009 on 6:14 am
Hi,
using tar -cvzpSf -`date “+%Y-%m-%d”`.tgz or
) and uses ISO-Norm for date-string…..
tar -cvzpSf -`date “+%Y-%m-%d-%H:$M”`.tgz
( change colon to dash or underline if you need )
for backups uses every time the right date ( now ) and orders files per date newest last ( automagically
another hint: tar can also made incremental backups….
for disk-backups it’s better to use dump ( refer to zwicky – torture testing backup… )
cheers
michael