Translations

Know another language? Translate this tutorial!

Stats

2,105 visitors
18.8K page views

Keep your work safe with Construct 2's backup options

Favourite 61 favourites
Tutorial written by AshleyOriginally published on 27th, February 2012 - 2 revisions

Backing up is an essential part of working on a computer, but is often neglected. Despite the best of efforts, in practice neither the hardware nor software in your computer is perfect, and crashes can result in lost work. Also, catastrophes like hardware failure, theft, fire and floods can result in lost work, making a bad situation even worse. This can and does happen! Often keeping backups is boring and gets ignored or forgotten, but you can use Construct 2's backup options to set up hands-free automatic backups. This can help ensure your work is safe so you never get caught out by crashes or disasters. It only takes a few minutes to set up then doesn't need any attention after that, so be sure to set it up! It could save you a lot of grief one day!

Construct 2 has two main backup features: auto-backup and scheduled backup. These are set in the Backup tab of the Preferences dialog.

Backup options in the Preferences dialog.

Auto-backup

Auto-backup keeps copies of your project in the same folder it's saved in. You can set any number of copies to be kept. For example, if you save myfile.capx with 3 auto-backups enabled, you will have myfile.capx.backup1, myfile.capx.backup2 and myfile.capx.backup3 in the same folder. Each backup represents a previous save, so backup1 is the last time you hit save, backup2 is two saves ago, and so on.

Auto-backup is mainly to prevent software or hardware errors corrupting your project. In the rare event that the main project somehow becomes unopenable, you can open the last auto-backup to restore your project. Auto-backups can also be useful to revert to earlier versions of your project. However, remember that auto-backups will also be lost if your hard disk or computer fails or is destroyed in some catastrophic event. To protect against this, you should also set up a scheduled backup (see below).

By default, Construct 2 will keep a single auto-backup file. If your main project somehow becomes unopenable, you can restore it by opening the .capx.backup1 file. If you don't want to keep auto-backups you can untick the checkbox in the Preferences dialog, but it is highly recommended to at least manually backup from time to time.

Scheduled backups

Scheduled backups run less often than auto-backups, but save to different folders. This is vital to ensure your work is safe, since as mentioned previously sometimes both your work and all its auto-backups can be lost at once (e.g. if your hard disk fails). In the Preferences dialog you can set up three backup folders and specify how often you want to update the backup copy. The filename in the backup folder will be something like myfile-wmnvqqwxegop.capx (some random text is added to ensure it doesn't overwrite the backup for another different "myfile.capx" you have somewhere else on your computer).

It's vital to keep off-site backups to ensure your work is safe. The best way to do this is to register for a free file hosting account like Dropbox, OneDrive or Google Drive. You can get a couple of gigabytes of private storage for free. These services can then also create a folder on your computer, and any files copied there are automatically synced to the service's servers and any other devices using the same account. Therefore if you set this folder as a scheduled backup folder, you'll regularly be making off-site backups that are also automatically synced to any other devices you have. It is highly recommended to set up a daily backup to a synced folder to ensure you never lose a significant amount of work. Even in the event your entire computer is destroyed, you can still recover your work by logging in to your account and downloading the last backup, or from one of the other devices it synced to.

Alternatively, you may want to set up backup folders on network shares or other synchronised or backed-up folders. It's important to have backups on different computers to make sure your work is safe.

Scheduled backups are only made when you press 'Save'. For example if you have a daily backup set up and press 'Save', a new backup is only copied if the existing backup is over a day old. You can also set up auto-saves from Preferences to automatically 'Save' on a timer, or after every preview, ensuring these backups are made even if you forget to press it yourself.

Make sure you backup!

Don't be caught out! In just a few minutes you can set up autobackups, a private file-host backup like Dropbox, and two other backup folders if possible. This applies to all projects and will help keep your work safe. After that, you don't need to do anything else - so there's no excuse! :)

Unlock your full gamedev potential

Upgrade to the Personal Edition of Construct 2, it has way more features and won't holding back from making money and using your full creativity like the free edition does. It's a one off payment and all Construct 2 editor updates are free for life!

View deals

Plus, it's got a lot of additional features that will help you save time and make more impressive games!

Congratulations on finishing this tutorial!

Did you learn a lot from it? Share it now with your friends!

Share and Copy this Tutorial

You are free to copy, distribute, transmit and adapt this work with correct attribution. Click for more info.

Comments

8
Velojet 21.0k rep

This is a superb addtion to C2 - and superb sound advice about backing up. The grief of losing work is unbearably painful <voice of experience>, so anything that can help save you from your own carelessness is HUGELY welcome!

I'd like to underline the importance of *off-site backups* - when I do IT audits for clients, one of the first questions I ask is, "Where're your offsite backups?" (One answered, "Under my bed, guarded by Bruno, my pit-bull.") Having easy access to the cloud and utilities like Dropbox means all users now have only themselves to blame when their work vanishes forever. Thanks again, Scirra guys!

Tuesday, February 28, 2012 at 12:51:39 AM
7
the marked one 2,934 rep

i'm still amazed by how creative features your add, we really needed this as i develop right now with a laptop and a desktop and soon ill be developing on a ship for months and having synchronized backups everywhere is very very practical , :))) thx

Tuesday, February 28, 2012 at 1:42:03 AM
4
Bigheti 17.0k rep

It is critical to have backup procedures: and who have a one...does not have anything! Now the C2 provides do it in three different places. Very good Scirra Team, congratulations and thank you so much!

Tuesday, February 28, 2012 at 7:27:57 PM
4
Kyatric 69.3k rep

Back up loss of datas !

Wednesday, February 29, 2012 at 9:40:55 AM
3
dssonthenet 3,325 rep

Good tip for all of us!

Wednesday, April 11, 2012 at 11:23:49 PM
3
simwhi 6,279 rep

Great tutorial. We have power outages here all the time so, this is very handy to know.

Tuesday, May 22, 2012 at 9:44:59 AM
1
JohnnySix 11.9k rep

Excellent stuff- wish I'd have read this part sooner- I manually instance names when saving on a regular basis when making major changes, but the back-up folders option is a time saver - will add the dropbox folder to the list. :)

Sunday, August 26, 2012 at 7:40:33 PM
1
mercurygrafx 2,144 rep

This Tutorial needs to explain HOW TO create a back up to DropBox.

Tuesday, February 19, 2013 at 5:38:28 AM
1
nikita632 3,764 rep

Thank you very much for this!

Monday, March 04, 2013 at 4:09:29 PM
1
babkamen 1,245 rep

can you create autobackup on run in next build?

Monday, July 01, 2013 at 9:48:00 PM
1
sosensible 9,646 rep

this feature does work now finally, glad to have it

Monday, November 25, 2013 at 4:20:13 PM
1
voxol 450 rep

I wish it came pre-enabled when you first get construct 2

Saturday, April 05, 2014 at 3:04:51 AM

Leave a comment

Everyone is welcome to leave their thoughts! Register a new account or login.