Command Line Backup Forever

The Command Line Backup Forever (BFFCMD) is a software developed to help expert users or network administrators. It offers many backup options to make backups on batch files. This software has two key features: (1) it generates many redundant information and (2) executes a full test on new backups in order to check data integrity. The best option is to record the backup in distinct units (such as D: and E: or \\wind\d-drive and \\star\d-drive).

Parameters

-c: enable compression
-l: create log
-r: recourse directories
-s: non stop on errors
-w: always overwrite
-o: recover to the original place
-x: recover
-t: disable self tests ( you should not use this option )

USAGE:

bffcmd filename1 [+filename2] filetobackup [filetobackup ...] [-clrstw]
or
bffcmd [-x] filename1 [+filename2] destinationdir [-losw]

 

Example 1 (create backup):

bffcmd D:\myBacks\back-jun12 C:\mywork\*.doc C:\mypres\*.ppt -crl

This command creates 3 files: back-jun12.bff2, back-jun12.bff2.red, back-jun12.bff2.log with backup of C:\mywork\*.doc and C:\mypres\*.ppt. This example uses the options "compression", "recourse directories" and "log generation". Follows what you could see by running this command:

C:\>bffcmd D:\myBacks\back-jun12 C:\mywork\*.doc C:\mypres\*.ppt -crl
BACKUP FOREVER COMMAND LINE 1.0
Creating log: D:\myBacks\back-jun12.bff2.log.
File names: D:\myBacks\back-jun12.bff2 and D:\myBacks\back-jun12.bff2.red
Generating backup.
Recourse directories (-r) :ON
Compression (-c) :ON
Disable self tests (-t) :OFF
Non stop on errors (-s) :OFF
Always overwrite (-w) :OFF
Generate log:ON
Searching for *.doc at C:\mywork
Compressing and adding C:\mywork\text.doc .
Compressing and adding C:\mywork\subdir\small.doc .
Searching for *.ppt at C:\mypres
Compressing and adding C:\mypres\shu.ppt .
Testing C:\mywork\text.doc
Decompressing and recovering C:\WINDOWS\TEMP\bff.aux
Testing C:\mywork\subdir\small.doc
Decompressing and recovering C:\WINDOWS\TEMP\bff.aux
Testing C:\mypres\shu.ppt
Decompressing and recovering C:\WINDOWS\TEMP\bff.aux
Files:3
Well Done.
 

Example 2 (create backup):

bffcmd D:\myBacks\back-jun12 +E:\myBacks\back-jun12 C:\mywork\*.doc

This command creates 2 files: D:\myBacks\back-jun12.bff2 and E:\myBacks\back-jun12.bff2.red with backup of C:\mywork\*.doc. This example places the backup and redundant information on distinct units (highly recommended). Follows what you could see by running this command:

C:\>bffcmd D:\myBacks\back-jun12 +E:\myBacks\back-jun12 C:\mywork\*.doc
BACKUP FOREVER COMMAND LINE 1.0
Overwrite D:\myBacks\back-jun12.bff2(y/n)?y
File names: D:\myBacks\back-jun12.bff2 and E:\myBacks\back-jun12.bff2.red
Generating backup.
Recourse directories (-r) :OFF
Compression (-c) :OFF
Disable self tests (-t) :OFF
Non stop on errors (-s) :OFF
Always overwrite (-w) :OFF
Generate log:OFF
Searching for *.doc at C:\mywork
Adding C:\mywork\text.doc .
Testing C:\mywork\text.doc
Recovering C:\WINDOWS\TEMP\bff.aux
Files:1
Well Done.
 

Example 3 (recover from backup):

bffcmd -x D:\myBacks\back-jun12 -o

This command recovers the backup on files D:\myBacks\back-jun12.bff2 and D:\myBacks\back-jun12.bff2.red. This example restores the backup on their original location ( parameter -o). Follows what you could see by running this command:

C:\>bffcmd -x D:\myBacks\back-jun12 -o
BACKUP FOREVER COMMAND LINE 1.0
Recovering (-x).
Destination:ORIGINAL
Non stop on errors (-s) :OFF
Always overwrite (-w) :OFF
Generate log:OFF
File names: D:\myBacks\back-jun12.bff2 and D:\myBacks\back-jun12.bff2.red
Do you really want to overwrite C:\mywork\text.doc(y/n)?y
Decompressing and recovering C:\mywork\text.doc
Do you really want to overwrite C:\mywork\subdir\small.doc(y/n)?y
Decompressing and recovering C:\mywork\subdir\small.doc
Do you really want to overwrite C:\mypres\shu.ppt(y/n)?y
Decompressing and recovering C:\mypres\shu.ppt
 

Example 4 (recover from backup):

bffcmd -x D:\myBacks\back-jun12 C:\tests

This command recovers the backup on files D:\myBacks\back-jun12.bff2 and D:\myBacks\back-jun12.bff2.red. This example restores the backup on a new location ( C:\tests ). Follows what you could see by running this command:

C:\>bffcmd -x D:\myBacks\back-jun12 C:\tests
BACKUP FOREVER COMMAND LINE 1.0
Recovering (-x).
Destination:C:\tests\
Non stop on errors (-s) :OFF
Always overwrite (-w) :OFF
Generate log:OFF
File names: D:\myBacks\back-jun12.bff2 and D:\myBacks\back-jun12.bff2.red
Decompressing and recovering C:\tests\C\mywork\text.doc
Decompressing and recovering C:\tests\C\mywork\subdir\small.doc
Decompressing and recovering C:\tests\C\mypres\shu.ppt