Backup support via SOAP
Brought to you by:
canajun2eh,
yalnifj
Since there is no way to backup the ged-files without
downloading it from the admin-gui (since ver 4.01), it
would be nice if there were some form of API/SOAP
support to make "remote-backups" or dump the ged into a
"out"-folder (so it would be possible to make a ftp
transfer schedule).
Logged In: YES
user_id=1254634
Johan - can you explain futher?
I do back-ups in same way for ver 4.0.1 as I did for ver
3.3:
Admin / Backup / Make backup.
Then right-click the resulting file, and 'Save target
as.." to my hard drive. This gives a zip-folder containing
all my .ged files, and other relevant files from the index
folder.
Nigel
Logged In: YES
user_id=788464
Nigelo !
yes you´re right - it´s possible to make a backup by going
to Admin / Backup / Make backup like you said.
But....
If i want to make automatic schedule backups regulary (by a
cron job or sceduled tasks (in windows) ), there must be
some form of API/or URL params to communicate with
phpGedView (since version from 4.0.1 only store data in the
database). Before 4.0.1 i could just make a schedule job to
do a normal ftp-download of my ged-files to my local machine.
One way to solve this thing would be if the where some form
of params that could create a backup. That way i could just
do a cron job to process the backup and do a
ftp/email/whatever with the backup files. Like this:
Cron job:
\usr\bin\lynx
phpgedView\api\backup.php?db=database1&location=\tmp\backup
The main problem today is that i have to click the backup
link everytime i want to make a backup. This way it´s
impossible to make autmaticly backups.
Logged In: YES
user_id=300048
I think that you have misunderstood something somewhere...
version 4.0.1 still saves all data in the GEDCOM file.
The upcoming version 4.1 in the SVN will also write to the
GEDCOM file, but only when the data is accepted. The option
to write back to GEDCOM files can be turned off by admins if
desired (good for large gedcom files, or to conserve
memory). But by default your changes will be stored in
the file when they are accepted.
I think it would be a good idea though to have a command
line backup tool which will back up the other data such as
users etc.
--John
P.S. Have you looked at the current options to have your
GEDCOM file archived in a CVS/SVN repository anytime it is
changed?