<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Efficient way of doing Off-site Vault backups in Vault Forum</title>
    <link>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/9673254#M19044</link>
    <description>&lt;P&gt;Thanks mate! that link was very useful, I am keeping it for reference.&lt;/P&gt;&lt;P&gt;However my limited understanding of rsync is that it does compression by using -z parameter and also it is supposed to be incremental so only the changes in the data set are transferred. as a comparison I have&amp;nbsp; 1TB data set that gets backed up in about 30min. this because most of its files are the same, only recent changes or new files are synchronized.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the Vault backup is a completely new data set each backup so rsync has to delete completely the previous backup and re-write the entire backup again which it is about 200 MB.&lt;/P&gt;&lt;P&gt;so, I was wondering if there is an option when doing Vault backup so only the recent changes are saved (incremental).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Aug 2020 23:05:18 GMT</pubDate>
    <dc:creator>Mario-Villada</dc:creator>
    <dc:date>2020-08-04T23:05:18Z</dc:date>
    <item>
      <title>Efficient way of doing Off-site Vault backups</title>
      <link>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/9670896#M19042</link>
      <description>&lt;P&gt;Hi Guys, How do you do Off-site Vault backups? My way takes bout 30 hours!. I do an Rsync task from our FreeNAS box at the office to a Synology NAS at my place.&lt;/P&gt;&lt;P&gt;Since it takes toooo long I can only do it once per week and it clogs my home network. Is there another more efficient way of doing it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are on Vault basic 2019.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;all the best.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 23:44:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/9670896#M19042</guid>
      <dc:creator>Mario-Villada</dc:creator>
      <dc:date>2020-08-03T23:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way of doing Off-site Vault backups</title>
      <link>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/9672126#M19043</link>
      <description>&lt;P&gt;As I understand it, Rsync does not use compression or deduplication.&amp;nbsp; You might look for a tool that can do those steps.&lt;/P&gt;
&lt;P&gt;This might help:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://jstaf.github.io/2018/03/12/backups-with-borg-rsync.html" target="_blank"&gt;https://jstaf.github.io/2018/03/12/backups-with-borg-rsync.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We used to use Falconstor running on our SAN to push vmware snapshots (including the Vault backup files) to a remote host twice a day.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We also use Vault Pro so we have incremental backups during the week and full backups on the weekend.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 14:01:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/9672126#M19043</guid>
      <dc:creator>swalton</dc:creator>
      <dc:date>2020-08-04T14:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way of doing Off-site Vault backups</title>
      <link>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/9673254#M19044</link>
      <description>&lt;P&gt;Thanks mate! that link was very useful, I am keeping it for reference.&lt;/P&gt;&lt;P&gt;However my limited understanding of rsync is that it does compression by using -z parameter and also it is supposed to be incremental so only the changes in the data set are transferred. as a comparison I have&amp;nbsp; 1TB data set that gets backed up in about 30min. this because most of its files are the same, only recent changes or new files are synchronized.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the Vault backup is a completely new data set each backup so rsync has to delete completely the previous backup and re-write the entire backup again which it is about 200 MB.&lt;/P&gt;&lt;P&gt;so, I was wondering if there is an option when doing Vault backup so only the recent changes are saved (incremental).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 23:05:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/9673254#M19044</guid>
      <dc:creator>Mario-Villada</dc:creator>
      <dc:date>2020-08-04T23:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way of doing Off-site Vault backups</title>
      <link>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/9673873#M19045</link>
      <description>&lt;P&gt;I suggest that you after the backup is run on the server rename the backup to a generic name and the do a robocopy /mir to the NAS. That way you only copy changed files to the NAS.&lt;BR /&gt;&lt;BR /&gt;MOVE D:\Vaultbackup\full\VaultBackup_20* D:\Vaultbackup\full\VaultBackup&lt;BR /&gt;&lt;BR /&gt;ROBOCOPY "D:\Vaultbackup\full\VaultBackup" "\\NAS\Vaultbackup\full\Vaultbackup" /MIR&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 08:51:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/9673873#M19045</guid>
      <dc:creator>GunnarNilsson</dc:creator>
      <dc:date>2020-08-05T08:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way of doing Off-site Vault backups</title>
      <link>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/9675638#M19046</link>
      <description>&lt;P&gt;Thanks mate! I think you got it!.&lt;/P&gt;&lt;P&gt;You made me realize that it as actually&amp;nbsp; a new data-set but this was my fault because I have a script that always have 2 days of backup. 1 for yesterday and other for the day before. This is achieved by initially saving the backup to a temp folder, if no errors then the previous backup in folder A is renamed to B and the temp folder is renamed to A. It looks like I will have to think of a way to synchronize the data before renaming.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again. see my backup script below.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;@Anonymous OFF

REM THIS WILL STOP THE WEB SERVER AND "CYCLE" THE SQL SERVER
IISRESET /STOP
NET STOP MSSQL$AUTODESKVAULT
NET START MSSQL$AUTODESKVAULT

REM START Backup on Temp folder
"C:\Program Files\Autodesk\ADMS 2019\ADMS Console\Connectivity.ADMSConsole.exe" -Obackup -B"F:\Vault Backups\Temp" -VUadministrator -VP -L"F:\Vault Backups\VaultBackupLog.txt" -S

IF ERRORLEVEL 0 GOTO OverwriteLastBackup
IF ERRORLEVEL -1 GOTO End

:OverwriteLastBackup
REM DELETE B AND CASCADE A BACKUP SUBDIRECTORIES
RMDIR /Q /S "F:\Vault Backups\B"
REN "F:\Vault Backups\A" "B"
REN "F:\Vault Backups\Temp" "A"

REM CREATE A NEW DIRECTORY FOR THE BACKUP
MKDIR "F:\Vault Backups\Temp"

REM START THE WEB SERVER
IISRESET /START

REM COPY BACKUPS FOLDERS TO NETWORK LOCATION IN *FREENAS* *Mario  Modification*
RMDIR /Q /S "\\VLfreenas\Vol8TB\vault_backups\B"
REN "\\VLfreenas\Vol8TB\vault_backups\A" "B"
ROBOCOPY "F:\Vault Backups\A" "\\VLfreenas\Vol8TB\vault_backups\A" /MIR /Z /W:10 /R:5 /MT:32 /V /NP /LOG:"F:\Vault Backups\robocopyLog.txt"


:End
REM Purge "F:\Vault Backups\Temp"
RMDIR /Q /S "F:\Vault Backups\Temp"
MKDIR "F:\Vault Backups\Temp"

REM START THE WEB SERVER
IISRESET /START&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 00:18:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/9675638#M19046</guid>
      <dc:creator>Mario-Villada</dc:creator>
      <dc:date>2020-08-06T00:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way of doing Off-site Vault backups</title>
      <link>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/10333789#M19047</link>
      <description>&lt;P&gt;I'm curious if you reached the solution you were aiming for. I'd like to do the same - do weekly offsite incremental backups without uploading the entire backup every time.&lt;/P&gt;</description>
      <pubDate>Sun, 23 May 2021 22:08:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/10333789#M19047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-23T22:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way of doing Off-site Vault backups</title>
      <link>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/10333902#M19048</link>
      <description>&lt;P&gt;Not really, it takes more than 24 hrs each time. I know Vault Professional has the option to do incremental backups but we are on Basic at the moment.&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 00:00:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/10333902#M19048</guid>
      <dc:creator>Mario-Villada</dc:creator>
      <dc:date>2021-05-24T00:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way of doing Off-site Vault backups</title>
      <link>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/10334040#M19049</link>
      <description>I was afraid of that. At least we have the script to get them to a networked drive, and I have another NAS that actively pulls backups. So even though it’s going to be slow, it’ll be automated.&lt;BR /&gt;</description>
      <pubDate>Mon, 24 May 2021 01:37:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/10334040#M19049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-24T01:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way of doing Off-site Vault backups</title>
      <link>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/10349818#M19050</link>
      <description>&lt;P&gt;&lt;STRONG&gt;I have a working solution!&amp;nbsp;Instead of a new 300+GB backup task, I now have ~5GB each time.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you're aware, the original Vault backup process involves copying all files into a new directory. The issue is that the directory itself is new every time, and incremental backup solutions need to backup anything new. Thus 100's of Gigabytes each time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After some internal testing, I've generated a script that creates a dedicated copy for incremental backup solutions. Here's the way it works:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You run the original Vault backup.&lt;/LI&gt;&lt;LI&gt;Perform the standard 'cascading backup'. **&lt;/LI&gt;&lt;LI&gt;ROBOCOPY the latest backup's&amp;nbsp;&lt;EM&gt;contents&lt;/EM&gt;&amp;nbsp;(as opposed to the entire directory) into an existing directory.&amp;nbsp;Thus, the outer level directory is never changed, just the files within. And only the files that have changed get rewritten.&lt;/LI&gt;&lt;LI&gt;Backup the synchronized directory only.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;EM&gt;** I don't have enough storage space for three versions (temp, A, B), so I trimmed it down to 'temp' and 'latest' only)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's my two batch files:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;FIRST: Run Vault Backup. Cascade. Optionally copy to network folder.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; OFF

REM THIS WILL STOP THE WEB SERVER AND "CYCLE" THE SQL SERVER

echo Stopping IIS Web Server...
IISRESET /STOP
echo ..done
echo.

echo Cycling (Restarting) SQL Server (Autodesk Vault)...
NET STOP MSSQL$AUTODESKVAULT
NET START MSSQL$AUTODESKVAULT
echo ..done
echo. 

REM START Backup on Temp folder

echo Backing up Autodesk Vault..
"C:\Program Files\Autodesk\ADMS 2017\ADMS 2018\ADMS Console\Connectivity.ADMSConsole.exe" -Obackup -B"S:\Vault Backups\Temp" -VUadministrator -VPmodem -L"S:\Vault Backups\VaultBackupLog.txt" -S

REM IF ERRORLEVEL 0 GOTO Success
REM IF ERRORLEVEL -1 GOTO Fail

:Success
echo ..success
echo.

REM START THE WEB SERVER

echo Restarting IIS Web Server...
IISRESET /START
echo ..done
echo.

REM Delete the prior backup and rename the latest

echo Replacing prior local backup with current backup

echo ..removing old local backup
RMDIR /Q /S "S:\Vault Backups\Latest"

echo ..renaming new local backup
REN "S:\Vault Backups\Temp" "Latest"

REM Replace the directory for the next local backup
MKDIR "S:\Vault Backups\Temp"
echo ..done
echo.


REM SKIP BACKUP to NETWORK. IT TAKES TOO LONG. We're using Synology Active Backup instead to pull from B:\
GOTO: cleanup

REM Copy latest backup to a network location

echo Preparing to copy local backup to network location

echo ..renaming prior network backup
REN "\\someDevice\somePath\Vault Backups\Latest" "Prior"

echo ..copying latest local backup to network
ROBOCOPY "S:\Vault Backups\Latest" "\\someDevice\somePath\Vault Backups\Temp" /MIR /Z /W:10 /R:5 /MT:32 /V /NP /LOG:"S:\Vault Backups\robocopyLog.txt"

echo ..renaming new network copy
REN "\\someDevice\somePath\Vault Backups\Temp" "Latest"

echo .. removing prior network copy
RMDIR /Q /S "\\someDevice\somePath\Vault Backups\Prior"

Goto cleanup

:Fail
echo ..backup failed

REM START THE WEB SERVER

echo Restarting IIS Web Server...
IISRESET /START
echo ..done
echo.

:cleanup

echo Cleaning up Temp files..

REM Purge "S:\Vault Backups\Temp"
RMDIR /Q /S "S:\Vault Backups\Temp"

MKDIR "S:\Vault Backups\Temp"
echo ..done&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see... I've disabled the network backup, but my new online backup replaces it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;SECOND: Prepare another copy with only incremental changes&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;cd /d S:
cd "S:\Vault Backups\Latest\VaultBackup_*"
ROBOCOPY "databases" "B:\SyncedBackup\databases" /MIR
ROBOCOPY "filestores" "B:\SyncedBackup\filestores" /MIR
XCOPY /Y BackupContents.xml "B:\SyncedBackup"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note, B: is a DEDICATED partition. There's nothing else on that drive except this synced folder. This lets my backup software select only that drive.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kschnautz_1-1622295582143.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/924571i1F86A63885533D25/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kschnautz_1-1622295582143.png" alt="kschnautz_1-1622295582143.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kschnautz_0-1622295547250.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/924569iCE131862C465BEB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kschnautz_0-1622295547250.png" alt="kschnautz_0-1622295547250.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can combine this into a single Batch file, or just modify your task scheduler to have two actions. (That's what I did).&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 14:02:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/10349818#M19050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-29T14:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way of doing Off-site Vault backups</title>
      <link>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/10349856#M19051</link>
      <description>&lt;P&gt;FYI - the majority of the data being transferred now is the Database. At minimum, every backup will be a new myVault_dbbak and KnowledgeVaultMaster_dbbak. These are about 4GB on our server.&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 13:59:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/10349856#M19051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-29T13:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way of doing Off-site Vault backups</title>
      <link>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/10349867#M19052</link>
      <description>&lt;P&gt;Also, I just realized that&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4239249"&gt;@GunnarNilsson&lt;/a&gt;&amp;nbsp;already suggested a variation of this. I failed to read it closely, to see that he already address this with his MOV command with a wildcard, then ROBOCOPY.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Oh well. At least you have a full script you (and others) can copy for future use.&lt;/P&gt;</description>
      <pubDate>Sat, 29 May 2021 14:06:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/10349867#M19052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-29T14:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Efficient way of doing Off-site Vault backups</title>
      <link>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/10350665#M19053</link>
      <description>This is fantastic! Thank you so much! What a good way to solve this issue. I will definitely implement this.</description>
      <pubDate>Sun, 30 May 2021 03:17:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-forum/efficient-way-of-doing-off-site-vault-backups/m-p/10350665#M19053</guid>
      <dc:creator>Mario-Villada</dc:creator>
      <dc:date>2021-05-30T03:17:23Z</dc:date>
    </item>
  </channel>
</rss>

