Hi everyone. I was not satisfied on how BackupPC_archiveStart works, so I decided to write a script that should help me with BackupPC_tarCreate and cron, avoiding to edit crontab everytime I edit a host or a share to backuppc configuration. The script is attached. I'm a Perl beginner, so I think it could have be done much better. You're welcome for suggestions or to improving.
This is the help of the command line:
---
BackupPC_tarCreateAll [--dir|-d /path/to/archive/dir] (default:
/var/lib/backuppc/)
[--cfgdir|-c /path/to/config/dir] (default:
/etc/backuppc/)
[--hostfile|-f hosts_filename] (default: hosts)
[--help|-h (print this help)]
[--pretend|-p] (do nothing, only shows what would be done)
Archive files will be created as <share name>@<host name>.tar.gz under
archive directory
---
Regards.
--
GP
BackupPC_tarCreateAll
Description: Binary data
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
