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 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/