Search found 3 matches

by LHammonds
Fri Apr 14, 2017 2:29 pm
Forum: How to use FSArchiver
Topic: Return Codes
Replies: 1
Views: 17602

Re: Return Codes

Dang it, did a google search looking for return codes for fsarchiver and got my own thread again. EDIT: I did some digging in the source code to see if I could catch a glimpse of something that looked like return codes and I found this: Source = https://github.com/fdupoux/fsarchiver/blob/master/src/...
by LHammonds
Mon Oct 22, 2012 7:16 pm
Forum: How to use FSArchiver
Topic: Return Codes
Replies: 1
Views: 17602

Return Codes

Is there any documentation on the various return codes when errors occur? I capture the exit code whenever I run the program as follows: #!/bin/bash fsarchiver ** parameters here ** ReturnCode=$? if [ ${ReturnCode} != 0 ]; then echo "fsarchive error. Return Code = ${ReturnCode}" fi Thanks, LHammonds
by LHammonds
Mon Oct 22, 2012 7:09 pm
Forum: General questions
Topic: Best Practices - disaster recovery
Replies: 1
Views: 7373

Re: Best Practices - disaster recovery

I am in the process of creating a procedure/documentation to backup and restore Ubuntu partitions. It can be found here: Backup Partitions Using LVM Snapshots and FSArchiver The basic flow for creating an archive goes like this: ## Create the snapshot volume of the partition to be backed up. lvcreat...