Tech Review
      C.k Blog about technology

Backup plan worked out

I came up with a backup plan to backup the AltaPoint (AP) data files and the user documents.
Syncback would perform backups to the backup server to the various folders in the following directory tree:

\\backup
     backup\
         AP\
            last_week\
            this_week\
         Users\ 
            last_week\
            this_week\ 

“\\backup” is the backup server, “backup\” is the folder in the root directory of the server’s hard drive, and “AP” & “Users” are two folders inside of the backup folder.  Each of those folders has a “this_week” & “last_week” folder.

For AltaPoint, I directed SyncBack SE’s destination to be
\\backup\backup\ap\this_week\%dayofweek% 
This would create a folder inside “this_week” depending on what day the backup runs, the folder name being a number from 1 to 5, 1=Monday, 5=Friday.  This way, SyncBack SE creates a whole [work]week’s worth of backups for AP.

For the user documents, I directed SyncBack SE’s destination to be
\\backup\backup\users\this_week\
Then all the user folders would be copied to that directory.  Each day of the week, SyncBack would decide what is new in the source, and then copy that to the destination, overwriting any older versions.  This creates one cumulative backup each week.

 

For both, I created a simple script that would run on Saturday.

—–
rmdir last_week /S /Q
rename this_week last_week
mkdir this_week
—–

On Monday, the “this_week” directory would be empty, allowing for a new week’s worth of backup, while the “last_week” folder would continually contain the previous week’s backup.  On any given Friday, there would be two whole weeks of backed up data.

 

For further backup security, I created a script to copy the AP data to the secondary office for an off-site backup in case of fire/theft/general damage of the main server.

—–
copy \\backup\backup\ap\* \\cogconsvr2\backup\this_week
—–

This script runs every night after the offices are closed, and each week, cogconsvr2 runs the same script that creates two-week backups.

No Responses Yet to “Backup plan worked out”

Leave a Reply