• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    FOG Backup Script Help

    Scheduled Pinned Locked Moved Unsolved
    Linux Problems
    2
    3
    709
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      IT-John
      last edited by

      Hi all,

      FOG has provided a backup script located:

      As of version 0.14 a script is provided with FOG to make backups easier (not present in 0.32). The script is located at:

      utils/FOGBackup/FOGBackup.sh
      To use this script run:

      ./FOGBackup.sh [directory]
      With this script you must pass an directory that exists to the script as an argument. This directory is where your backups will be stored. This script can be run as a cron job to make daily backups of your FOG data.

      However, I’m not sure within the script how to pass my NAS server information including the credentials or if the script is ready to even accept those parameters. Does anyone have an example of their script already working they can share or can offer some help?

      Wayne WorkmanW 1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @IT-John
        last edited by

        @it-john The key things to backup are a mysqldump of the fog database, images, snapins, and your ssl keys. Not sure if the script gets the ssl keys, those are new as of 1.3.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • I
          IT-John
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          138

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project