Teamwork & BIMcloud
About Teamwork, BIMcloud, BIMcloud Basic, BIMcloud Software as a Service, network settings, etc.

BIM Server backup schedule

Geoff Briggs
Mentor
I am confused by the BIM Server's backup schedule.

It appears straightforward but far fewer backups are being generated than my setting would indicate. I have it set to backup every two hours, but there are whole days where no backup occurs. The project in question is seeing very little activity as we wait for the clients to make some decisions. But I have been tweaking the layout book and importing some scanned sketches, so there definitely have been changes. Is there an activity threshold as well as a time threshold?
Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-27, M1 Mac, OS 14.x
8 REPLIES 8
Laszlo Nagy
Community Admin
Community Admin
I have had similar experiences.
Fewer backups were created than should have.
I let GS know about this.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27
Ed_Brown
Graphisoft
Graphisoft
The BIM Server only checks whether it should backup at the time a send/receives has taken place. At this point it examines whether the time-to –backup time has passed, if it has it performs a backup. That is, the passage of the time is not enough to trigger a backup, the project on the server must also change via a send/receive.

In the project log you can see when send/receives and the backups are triggered. Do you have a case where the time to backup period had passed and you sent/received and the backup did not run?
Graphisoft Technical Support
Geoff Briggs
Mentor
Thanks for the explanation Ed. My confusion was in the trigger. It’s not the most recent BU but rather the last S/R. So it’s:

BU—>variable lag based on use—>S/R—>BU interval—>BU

The variable lag is the wild card. You can’t tell when the BU is running (or can you?). You may have just done a S/R just prior to it firing. If it’s then a few hours before your next S/R then the BU might not run at all the rest of the day, depending on the interval. Probably why I might only see two BUs in a day even though my interval is set to 2hrs.
Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-27, M1 Mac, OS 14.x
Anonymous
Not applicable
My concern over the backup logic is that there is no guarantee that a backup will be made. I would like a system that would create a backup at regular intervals, regardless of user activity, so that if a user messes up a project there is a backup we can rollback to. With the present scheduling logic a backup file may not be available to rollback to. I have scheduled a project to create a backup once a day at 3am and a backup has yet to be created.

We have scheduled a task on our server to create a daily cold database backup per the instructions listed on archiwiki. This runs prior to our scheduled nightly off-site backup, but it is also the only guaranteed daily backup version we have. Unfortunately the restore of this backup is not as seamless as the rollback function of the automatic backup.

I have two wishes; that Graphisoft rethink the logic behind triggering automatic backups to at least provide an option for a regular interval, and that a cold-database backup process be provided similar to the process used by Filemaker Server, which is built-in to the service and does not require stopping the service.

We are running BIM Server on Win Server 2003.
Geoff Briggs
Mentor
I agree Tim. Nothing wrong with the current logic per se, but more options are needed.
Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-27, M1 Mac, OS 14.x
gkovacsp
Graphisoft
Graphisoft
I'm not sure what is the problem with GS's backup logic, probably just a little misunderstanding.

I'll try to clear it up:

There are two types backup:
-scheduled at a specific time of the day
-scheduled at regular intervals

The backup tries to be clever (and in my experience it does not just try but it is): if there were no changes whatsoever on the project, then it doesn't create a new backup, since it would be exactly the same as the last one. This way it saves time and power.

The backup schedule is set up for the projects, when the server starts. If you specified 1 hour interval and you started the server at 8am, then it schedules the backups for 9am, 10am, 11am...

The server takes at deep breath at these times and checks the project. (If more projects have the same backup schedules, then it checks the more projects).

Lets see:
-you arrive to the office at 8am, start the server (you are not supposed to switch it off, this is justr for the example)
-start to work on Project A at 8:15
-finish working on project A at 8:30. (Leave or Close, or just don't do any S&R)
-at 9am the server starts the backup procedure, it realizes Project A has changed since 8am, so it creates a new backup
-you are a lazy bastard and have a coffee and a cigarette break for 2 hours
-at 10am server starts the backup procedure, it realizes you haven't done anything since 9am, so it doesn't create a new backup
-at 11am the very same thing happens: you haven't done anything - the server doesn't do anything
-at 11:30am you start working again and work continuously until 4:30pm
-the server will check in every hour (12am, 1pm, 2pm, 3pm, 4pm, 5pm, 6pm). It will create a new backup every time until 5pm. At 6pm there will be no new backup, since the project hasn't changed

Why I think it is good:
-if you set to create a backup every hour and to keep the last 10 backup copies, then if you working in the morning you won't have 10 exactly identical backups on the server (11pm, 12pm, 1am,2am.....), just the last one from the previous evening, created at 5pm

It works the same way, if you schedule the backup to a specified time: checks if there were any changes on the project. If there were no changes it will skip the backup creation.

I hope it helps, let me know your thoughts.

Gabor
Rod Jurich
Contributor
gkovacsp wrote:
/......I hope it helps, let me know your thoughts.
Gabor
Köszönöm Gábor, excellent explanation and with humour
Rod Jurich
AC4.55 - AC14 INT (4204) |  | OBJECTiVE |
Geoff Briggs
Mentor
gkovacsp wrote:
There are two types backup:
-scheduled at a specific time of the day
-scheduled at regular intervals
Gabor, I now understand how it works, and do appreciate the cleverness. But as you say there are two types of backup. The BIM Server offers only one, the interval type. Some users clearly prefer the other because it better fits their office system. That should be an option.
Regards,
Geoff Briggs
I & I Design, Seattle, USA
AC7-27, M1 Mac, OS 14.x