Change Backup Label

The place to discuss any technical issues or suggestions in relation to BackupAssist v9.

Change Backup Label

by bniknar » Fri Oct 13, 2017 9:59 am

Hello,

I'm running daily file protection backups - they work well. The backup folders are named like this:

2017-10-09
2017-10-10
2017-10-11

I need to start adding a suffix "_OFAABD" to the backup names - like this:

2017-10-09_OFAABD
2017-10-10_OFAABD
2017-10-11_OFAABD

I don't need to do this with previous backups, just new backups. Can I do this with a script that I run immediately before or after a backup? Please let me know.

Thanks! --Brian
bniknar
User
 
Posts: 12
Joined: Mon Feb 13, 2017 12:57 pm

Re: Change Backup Label

by RobertoPuglielli » Fri Oct 13, 2017 10:49 am

Hi Brian,

https://www.backupassist.com/support/en ... cripts.htm includes the following viz:

Renaming a backup file

Please note that renaming backup files with a script may undermine the integrity of the rotation scheme you have chosen. For example, renaming Month1.bkf and Month2.bkf to the same file name will reduce the pool of backups you have available. If you still need to rename backup files, use the following command:

ren %BACKUP_FILENAME% [Your desired filename]

Make sure that your requested filename ends in .bkf if you are using an NTBackup job. You can, of course, use variables in your desired filename, for example:

ren %BACKUP_FILENAME% %WEEKDAY%%FILE_TIME%.bkf

This would result in filenames such as: Mon22.00.bkf, Tue22.00.bkf, etc.
RobertoPuglielli
User
 
Posts: 20
Joined: Mon Sep 04, 2017 1:42 pm


Return to Technical Support v9



Who is online

Users browsing this forum: No registered users and 1 guest

cron