Ways to decrease Vault Backup times

Ways to decrease Vault Backup times

karthur1
Mentor Mentor
5,096 Views
18 Replies
Message 1 of 19

Ways to decrease Vault Backup times

karthur1
Mentor
Mentor

I have noticed that our Vault backup is now taking an incredible amount of time. In Dec 2014, the backup was taking about 11 hours ( 315GB).

 

I started a new backup 2 days ago and it is still running.  I just checked the size of the backup and it is at 145GB... and counting so I am nowhere near complete.

 

The backup task is being written to the local drive where the Vault filestore located.... and I later copy it off the local to an external hard drive.

 

Is there something (or number of things) that would cause this to be so slow?  I have just changed the priority level from (from 7, to now 2) for the scheduled task so maybe that will help on the next backup. I was also going to try do a purge, but have had trouble with that in the past.

 

What else should I be looking at?

 

Thanks,

Kirk

0 Likes
Accepted solutions (1)
5,097 Views
18 Replies
Replies (18)
Message 2 of 19

Anonymous
Not applicable
I don't know how your servers is set up, but operations that read from and write to the same drive are going to be slow. Having a second drive that you can save your backups to before they go off the server could speed it up.

The nuclear option is a 3rd party back up tool. There are some that are blessed by Autodesk and they are substantially faster to backup and restore. My company uses one and we've found that it works fine backing up and restoring one vault as well as backing up one server and restoring it to another.
Message 3 of 19

Neil_Cross
Mentor
Mentor

I would have said reading and writing to the same drive would be the quickest of transfers? You're utilising the highest factor for both read & writing which is disk speed, read & write speed obviously cannot go any faster than the physical disk can actually read or write.  Once you send data off that disk you're either going to maintain transfer rate or lose it via the slower rate of USB1, USB2, USB3, 100mbps LAN etc It's probably not as simple as that but in my experience localising all traffic to one disk has always been the fastest of any read/write scenarios.

Most older servers still have USB1 which means you're in for a bad time with that much data, USB2 tends to flatten out after burst at around ~25mb/s, I doubt your server has USB3...

However my calcs show that 315GB taking 11hours shows an average transfer speed of 8mb/s, is that both the backup and the transfer to external disk combined time? 

Neil Cross

T3D-Logo

0 Likes
Message 4 of 19

Anonymous
Not applicable
The problem is that drives can't read and write at the same time and regardless it goes off of the drive and back to be processed.

With a hard disk (as opposed to an SSD) the read/write head has to move to one spot, read a few pieces of information, store it in cache to send off to the CPU, then it can get its next job to write something. Writing from one disk to another removes that bottleneck. When I encode video files, I usually read from drive and write to another and see some pretty good gains. I'm not saying to send it off of the server, I'm talking about adding another disk to the server as a staging area for backups (it might actually make restores a good bit faster in the event of a crash.)

Still 8MB/s is pretty slow. I would check the health of your drive (google hard drive SMART monitor." It could be that your have some bad sectors so it is taking much longer than usual to read and write to the drive.

I don't know what kind of hardware you are running. For hundreds of gigs, I might consider trying to move to some more serious server type hardware/parts if you haven't already.. This might include SAS drives (which have better performance and error correcting, usually.)
0 Likes
Message 5 of 19

swalton
Mentor
Mentor

We have a two-pronged approach to Vault backups:

1. Weekly full backups with verification, and daily incremental backups without verification.  The weekly backups run over the weekend when no-one is using the system.  The incremental backups run Monday through Thursday nights.

This way we get one long backup and several short ones.  These backups are written to a NAS box on the gigi-bit network.

 

2. Our Vault server runs in a virtual machine.  We use the VM management software to grab a disk image of the entire server.  That image is de-duplicated and pushed offsite twice a day.  That operation happens during the workday without any noticeable slowdowns.

 

I expect that the easiest thing will be to turn of verification for some of your backups.  After that, make sure that you have fast disk IO between your filestore and your backup location.  Maybe invest in a solid state scratch disk to recive your backups until you move them to network storage.

 

If you can purge anything, that will help reduce the size of the backup, so there may be some help there.

Steve Walton
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Inventor 2025
Vault Professional 2025
Message 6 of 19

karthur1
Mentor
Mentor

@Neil_Cross wrote:

...

However my calcs show that 315GB taking 11hours shows an average transfer speed of 8mb/s, is that both the backup and the transfer to external disk combined time? 


Neil,

That 11 hrs was the how long it actually took the  backup process to run (got that info from the log file).  There was additional time to move it to the external drive.

 

The current backup that is running has copied about 170GB in 48 hours.  That is right at 1MB/s.  That seems really slow to me.

 

Thanks,

Kirk

0 Likes
Message 7 of 19

Anonymous
Not applicable
Scary slow. Something is wrong,...
0 Likes
Message 8 of 19

Neil_Cross
Mentor
Mentor

It is, there's something not right there.  Can you upload the backup log to this thread? As @swalton mentioned before if you have backup validation enabled this can double/treble and more increase the total backup duration.  Again swalton nailed it before, do a full backup on a weekend then daily incrementals during the week... for reference my current clients Vault is 500GB in total.

 

Full backup on a saturday takes ~8hrs

Daily incremental backups each weeknight take ~20minutes

 

That's copying to a local disk.  The Vault server is virtual and is snapshotted daily and taken off-site.  

 

If you can post the log one of us will likely be able to spot where the bottleneck is.

Neil Cross

T3D-Logo

0 Likes
Message 9 of 19

karthur1
Mentor
Mentor

If I could get to those times, that would be great.

 

I am running the backup task from windows task scheduler. I have since set this task to Priority=2 (was 7).  Here is the line that runs the backup from a .bat file.

 

Attached is a couple log files. In the "ADMS Vault Backup_Log (12_17_14)", you will see that it took about 11 hours for this one.  Next look at the other one "ADMS Vault Backup_Log".  You'll see several "not enough disk space" errors. I have made more room on the disk so that is not an issue now.

 

 

Kirk

0 Likes
Message 10 of 19

Neil_Cross
Mentor
Mentor

Yea that'll be the filestore.  Another thing, make sure if you have anti-virus software on the server that you exclude the CAD file types, backup areas, or flat out turn it off... maybe turn it off for one night and see if it makes a difference? AV software really can make that much of a difference as it scans every file in the filestore as it's being copied.

I'm wondering if that might be it...? The other objects don't seem to take too long, one of them will be your actual vault database which I'm assuming is a dozen or so GB to go along side a filestore of that size... and that isn't taking long to copy.  So one big file doesn't take long, hundreds of thousands of small files take forever, I'd definitely look at AV and rule that out.

Neil Cross

T3D-Logo

0 Likes
Message 11 of 19

Neil_Cross
Mentor
Mentor

Another test you can try, if you have the space for it, (out of office hours) do a manual standard Windows file copy of your entire filestore from where it is now to the backup location and observe how long it takes Windows to copy the files... and what kind of write speeds you're getting.  In theory that shouldn't be far off the backup write speed.

 

Emphasis on the word COPY not move haha Smiley LOL

Neil Cross

T3D-Logo

0 Likes
Message 12 of 19

swalton
Mentor
Mentor

Here are a few screenshots for comparison.

 

Our backup takes about 7 hours and 45 min for about 290 GB.  It writes from the Vault Server over the gigibit office network to an eSATA array on a workstation.

 

I don't know if I am reading it right, but the backup that you started on 2-13-15 at 5 pm did not end until 2-15-15 at 11:53 pm.  That looks like 54 hours for your backup.  That was right before you ran out of disk space, so maybe that made the backup run long.

 

The backup log from December took about 11 hours total.  I bet that your backup size did not increase by 5x in 2-3 months.

 

 

Steve Walton
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Inventor 2025
Vault Professional 2025
0 Likes
Message 13 of 19

karthur1
Mentor
Mentor
Accepted solution

No AV running on this server.  I changed the priority to 4... (was 7) and restarted the server.  My backup time went from 2 days+, down to 5 hours.  Not exactly sure which one did it for me, but I am good right now.

 

2015-03-31_0749.png

 

Thanks,

Kirk

 

 

0 Likes
Message 14 of 19

Anonymous
Not applicable

HI, thanks for the valuable info,

 

Where can we find a list (and guidlines) of "blessed by AutoDesk" Vault backup tools ?

 

Our IT dept. uses Netapp tools that seem really flash-performing compared to hours of backup with "copy" routines.

 

Many thanks in advance,

best regards,

 

Nicolas Tobbackx

0 Likes
Message 15 of 19

admin
Enthusiast
Enthusiast

Could you share the name of the third party backup solution? 

0 Likes
Message 16 of 19

grgsR6FHJ
Enthusiast
Enthusiast

Hello @karthur1 ,

Greetings for the day!
Currently I am taking ADMS backup of 2tb data on to a network drive, which is taking two full days for me.
I am looking if we can optimize the backup performance.
In the above post you mentioned you changed the priority to 4 from 7.
What priority are you pointing to, can you please help me understand this.
Thanks in advacnce!

 

Kind Rgeards,
Gowtham Surisetti

0 Likes
Message 17 of 19

karthur1
Mentor
Mentor

We no longer do Vault backups. Our IT has been handled by an outside source for several years now.  They backup our entire Vault server and  they tell me that they can restore our vault is something catastrophic happens. Never had to use this service, but thats what they say.

 

For changing the priority of a scheduled task, you can't change it directly from Windows Task Scheduler (as you probably know).  You have to export the task, change the xml, and then import the task back in with the increased priority setting.

 

Look here for a explanation.

 

Once the backup is running, you can see what priority is assigned to it from Windows Task Manager. Its not running in the screenshot below, this is just an example of what you can see from the WTM.

 

Hope this helps.

 

karthur1_0-1643374101775.png

 

 

 

 

Message 18 of 19

karthur1
Mentor
Mentor

Another thing you might want to explore is "incremental" backups if your ADMS version supports it.  That will shave down the time it takes to backup also, but there are more files to manage.

 

 

0 Likes
Message 19 of 19

RajSchmidt
Advisor
Advisor

AFAIK the backup of a complete (virtual) Vault server is not supported by Autodesk. I believe it should work but I have never tried that in a production environment. And if it goes amiss, you’re on your own.

You could, however, do an SQL backup of the data bases and simply copy the filestore away. That is supported. There is a somewhat older handbook describing the process. And you could also script this process, we have this done for some of our customers.

0 Likes