Quick question Is it Possible to force server to backup its database from a script? Want to do this before I rsync my backup mount to another host and will run via cron.
Thanks.
Quick question Is it Possible to force server to backup its database from a script? Want to do this before I rsync my backup mount to another host and will run via cron.
Thanks.
Currently not. But you could use the sqlite3 command line tool to do the backups, e.g.:
echo ".backup /target/path/backup_server.db" | sqlite3 /var/urbackup/backup_server.db
or you could stop the backup server and copy the files.