Automatic Backup on external ftp

Discussion in 'General' started by betafer, Sep 9, 2015.

  1. betafer

    betafer Member

    Hello,
    is there a simple solution to backup all the server into a remote ftp?
    We use ovh but there isn't an automatic procedure, we have set backup in ispconfig but is in local.

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can e.g. use ftpfs to mount your backup folder by ftp before your backup script starts and unmount it afterward. This way the backup gets stored on the ftp drive.
     
  3. betafer

    betafer Member

    Hello, thanks for the replay, ftpfs is in ispconfig options ?
     
  4. florian030

    florian030 Well-Known Member HowtoForge Supporter

    You can enable "backupdir is mount" and create a script to use i.e. sshfs to mount the directory.
    /usr/local/ispconfig/server/scripts/backup_dir_mount.sh:
    #!/bin/sh
    sshfs [email protected]:/ /var/backup

    But the there is currently no umount so you may want to use a cronjob to umount the directory.
     

Share This Page