Implement rudimentary backup support.

Signed-off-by: ralish <ralish@nexiom.net>