Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

Auto-backup of .cty to website?

A few people have posted here along the lines of "I've lost my .cty, can I rebuild it from the website?". The usual answer is "no - well, sort of, but it may be a lot of work".

I regularly upload my .cty file to the website root to avoid this problem. This is also an easy way to hand off the site to someone else for holidays etc.

I do this manually - yes, I know I could automate it with cron or something. But it would be nice if Citydesk had a way to upload the .cty file automatically. A self-clearing checkbox on the publish dialog would do it, but an "every n days" facility would be even nicer.

I compact the file before uploading, and it might be necessary to force this - an uncompacted .cty file can be several times larger han the compacted one.

Michael Wild
Monday, February 10, 2003

Please know that there are also a lot of dangers.. if anyone could open the cty file, they may have much more than you would like them to see (e.g. publish passwords etc.)

Mailing a compressed/zipped database to other accounts and regular backups don't have this downside....

Adriaan van den Brand
Monday, February 10, 2003

I think I was the first to post about losing a .cty file to HD failure - I was downloading a lot of files to my 3gb hard drive and it just sort of filled up.

The remedy that was suggested to me, and that I use, is 12 backup. It creates a backup every time a file is modified - you can specify "wait xx seconds to before backup to see if new changes are coming".

Use it on a 2nd HD for best results, across a network is even better.

This also creates a running archive, which is also very handy. I used it when I modified a template in a way I didn't like. Just grab an old version (it's in the rightclick menu) and start over... You have backup versions from 2 minutes ago to 2 years ago.

You might be saying to yourself "one backup per change will take up too much hard drive space." Well it gets less granular as time goes on.

You have one per change for the last hour.
One per hour for the last day.
One per day for the last month.
One per month forever.

Besides, I find that the 20 or so extra .cty files on my hard drive right now are worth the 50mb of space or whatever they take up for peace of mind. It's great having an automatic backup. You can also schedule it to backup a folder every xx hours or days.

I did that when there were more than one of us working on the .cty file and I wanted to ensure I got all changes, not just mine.

http://www12ghosts.com

www.marktaw.com
Monday, February 10, 2003

http:/www.12ghosts.com

missing . above

joel Goldstick
Monday, February 10, 2003

oops:

http://www.12ghosts.com

joel Goldstick
Monday, February 10, 2003

Thanks. Here's the direct link:

http://www.12ghosts.com/ghosts/backup.htm

www.marktaw.com
Monday, February 10, 2003

*  Recent Topics

*  Fog Creek Home