Menu

#670 Backup support via SOAP

phpGedView
open
nobody
5
2006-08-29
2006-08-29
No

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).

Discussion

  • Anonymous

    Anonymous - 2006-08-30

    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

     
  • Johan Carleson

    Johan Carleson - 2006-08-30

    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.

     
  • John Finlay

    John Finlay - 2006-08-30

    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?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.