From: Craig B. <cba...@us...> - 2008-11-18 21:57:44
|
SamK writes: > I am struggling to create an archive from the command line. The desired outcome is to emulate the clicking of the "Start Archive" button in the web page as this method is working perfectly. The overall objective is to create the archive as a cron job. > > >From /usr/share/backuppc/bin/BackupPC_archive > Extract Start > # BackupPC_archive: Archive files for an archive client. > # > # DESCRIPTION > # > # Usage: BackupPC_archive <user> <archiveclient> <reqFileName> > Extract End > > I cannot find the definitions of <user> <archiveclient> <reqFileName> and all permutations of my guesses of what might be required have all failed. Can anyone help or indicate where the definitions are listed? BackupPC_archive isn't very easy to use directly: reqFileName is the path of a file (output from perl's Data::Dumper) with information about what to archive. BackupPC_archiveStart is much easier to use. It creates a reqFile and then tells the BackupPC server to run the archive. Craig |