Ok, I admid, i don't make backups very often(yet). But with this vps I rented for myself I tought I'd change that. So bring on the module for backups! Except that it does not work and barfs at some unknown function.
So maybe there arent' that many people trying to do backups with this module?
Backup
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Backup
I prefer to use an external backup, and have written scripts to help a) make the backups, and put them into a directory, and then b) clean up that directory after so many backups are created, or delete all files older than N days.
these scripts are both executed via cron, and work nicely, I have another that I am building (if I can find it again) that uses rsync to duplicate the files to a certain directory on another machine.
I backup not only the database, but the entire cms instalation (handles images, and uploads, etc).
these scripts are both executed via cron, and work nicely, I have another that I am building (if I can find it again) that uses rsync to duplicate the files to a certain directory on another machine.
I backup not only the database, but the entire cms instalation (handles images, and uploads, etc).
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Backup
Well, in other related news, I did fix the Backup module. I didn't cut a new release of it yet... and forgot to ask people to test it.
So, if you're feeling saucy, please do.
So, if you're feeling saucy, please do.
Re: Backup
please translate 'feeling saucy'?
I prefer roux based sauces, but I don't think that is the proper answer.
I prefer roux based sauces, but I don't think that is the proper answer.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: Backup
By request here's the scripts I use.
I've also included the scripts that go into my /etc/cron.daily directory
the scripts are:
a) a script to do a backup of one or more databases and compress the file into a .gz file in a given directory
b) a script to do backups of the website itself
c) a script to cleanup a backup directory, to delete files older than N days, or to keep a maximum of N files in the directory.
No warrantee implied or expressed, your mileage may varry.
[attachment deleted by admin]
I've also included the scripts that go into my /etc/cron.daily directory
the scripts are:
a) a script to do a backup of one or more databases and compress the file into a .gz file in a given directory
b) a script to do backups of the website itself
c) a script to cleanup a backup directory, to delete files older than N days, or to keep a maximum of N files in the directory.
No warrantee implied or expressed, your mileage may varry.
[attachment deleted by admin]
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Backup
Thanks Calguy!
And to state the obvious question, you have used these backups to restore a site, didn't you?
And to state the obvious question, you have used these backups to restore a site, didn't you?