ytrstu / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Add Vosao daily automatic backup. #297

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
There should be a way to get daily Vosao site backups in easy and secure way.

1. Add cron task to create automatic full site export accessible by URL 
   /file/backup/exportFull.vz

2. Restrict access to /back folder for administrators only.

3. Add automatic authentication/authorization filter by parameters so the final 
secure URL will look like:
   /file/backup/exportFull.vz?email=admin@gmail.com&password=1111

This cron task will run at 01:01 AM every day. 

It's up to client to create script for downloading this backup.

Original issue reported on code.google.com by kinyelo@gmail.com on 3 Aug 2010 at 8:43

GoogleCodeExporter commented 8 years ago
It would be nice if we could set the frequency of the backup cron.

Original comment by dklong...@gmail.com on 3 Aug 2010 at 9:19

GoogleCodeExporter commented 8 years ago
It is also nice if it's able to set condition to start backup like number of 
happened update incidents. Since backup may choke the quota if it runs 
unnecessary. 

Original comment by art...@gmail.com on 4 Aug 2010 at 7:03

GoogleCodeExporter commented 8 years ago
Implemented autologin by using "login_email" and "login_password" request 
parameters.

Original comment by kinyelo@gmail.com on 8 Aug 2010 at 6:42

GoogleCodeExporter commented 8 years ago
Feature implemented as backup plugin. 

http://code.google.com/p/vosao/source/browse/#svn/plugins/backup/trunk

It uses /tmp/ folder for placing exportFull.vz file. This folder is accessible 
by guests by default but you can add security restrictions to hide it and use 
auto login parameters to have secure access.

wget URL:

/file/tmp/exportFull.vz?login_email=admin@gmail.com&login_password=1111

Original comment by kinyelo@gmail.com on 8 Aug 2010 at 8:33