Rob writes: > I have been successful using "BackupPC_serverMesg backup HOSTIP HOSTNAME 0" > command to perform backups at the command line. Can I use > BackupPC_serverMesg to initiate a restore operation? If so, what is the > syntax of the command? I am guessing it would be: > > BackupPC_serverMesg restore <TARGET_IP> <HOST_THAT_BACKUP_CAME_FROM> > <restoreReqFile> > > Please let me know if I am on the right track or not. Thanks.
It actually takes 4 arguments: restore HOST_IP HOST_NAME REQ_USER REQ_FILE_NAME HOST_IP and HOST_NAME are the target of the restore (not the original host). You can typically set HOST_IP to the HOST_NAME provided BackupPC can figure out the IP address (eg: DNS, NMB). All the other information is in the req file. You can look at lib/BackupPC/CGI/Restore.pm to see the code that writes the request file. > Btw, BackupPC is a great tool, thanks much to the developers! Thanks. Craig ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/