ULTIMATE BACKUP for FFAStrans System
Posted: Sun Feb 14, 2021 12:06 am
Hello all,
Are you looking for one stop solution to backup your FFAStrans. Look no further.
Why did I make this
I am rather obsessed with backups and very paranoid.
Concept
To backup the FFAstrans folder with date and time stamp.
Requirements
7zip to be installed and 7z.exe to be placed under "C:\Windows\System32".
You need to create a .bat file.
Just copy the code below into a text file and change the extension from .txt to .bat
Every time you run this.BAT file. It will automatically create a backup and you can see the picture right at the bottom is an example.
You can even put this in the Windows Start-up folder so it will execute when your computer starts.
Performance
I have tweaked the code so the compression software uses a multi threaded CPU
Restore process
Just unzip the folder to the C drive and it will replace the existing ffastrans folder. For those who are a bit more paranoid. Delete the ffastrans first and then decompress the folder to the C drive.

Thank you all
Are you looking for one stop solution to backup your FFAStrans. Look no further.
Why did I make this
I am rather obsessed with backups and very paranoid.
Concept
To backup the FFAstrans folder with date and time stamp.
Requirements
7zip to be installed and 7z.exe to be placed under "C:\Windows\System32".
You need to create a .bat file.
Just copy the code below into a text file and change the extension from .txt to .bat
Every time you run this.BAT file. It will automatically create a backup and you can see the picture right at the bottom is an example.
You can even put this in the Windows Start-up folder so it will execute when your computer starts.
Performance
I have tweaked the code so the compression software uses a multi threaded CPU
Restore process
Just unzip the folder to the C drive and it will replace the existing ffastrans folder. For those who are a bit more paranoid. Delete the ffastrans first and then decompress the folder to the C drive.
Code: Select all
@echo on
:Version 1.0 (AuthorLeon)
Setlocal enabledelayedexpansion
CONSOLESTATE /Show
color a
cd c:\
ping 127.0.0.1 -n 1 > nul
mkdir c:\.temp
:COPY FILES FROM C:\FFAStrans to c:\.temp
robocopy /is /S /E "C:\FFAStrans" "c:\.temp"
:MAKE FFAStrans BACKUP FOLDER
CD /D "C:\FFAStransBackups"
For /f "tokens=1-3 delims=/ " %%a in ('date /t') do (set mydate=%%a-%%b-%%c)
For /f "tokens=1-2 delims=/:" %%a in ('time /t') do (set mytime=%%a%%b)
set mydir="FFASTRANS_%mydate%_%mytime%"
:mkdir %mydir%
CD /D "C:\.temp"
rem 7za a %mydir%.7z
7z a -t7z -m0=LZMA2:d64k:fb32 -ms=8m -mmt=30 -mx=1 -- "C:\FFAStrans\Backups\%mydir%.7z" "C:\.temp\*"
REM move "%mydir%.7z" "C:\FFAStrans\Backups"
CD /D "C:\"
REM PAUSE
rmdir /Q /S c:\.temp
CD /D "C:\FFAStrans\"
start "" "FFAStrans.exe"
REM ping 127.0.0.1 -n 1 > nul
exit

Thank you all