Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    2.3.2 Full Backup Alma

    Turkish
    2
    2
    809
    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.
    • Y
      yunusemreantalya last edited by

      normal eski sürümlerde /etc/rc.create_full_backup dosyası ile full backup alınabiliyor son sürümde yok.. 2.3.2 de nereden alınabilir acaba

      1 Reply Last reply Reply Quote 0
      • S
        sgtr last edited by

        Selam,

        Yeni versiyonda o dosya hazır olarak gelmiyor. Bunu kendiniz de yapabilirsiniz. Aşağıdaki kodları eklemeniz yeterli olacaktır. Aynı isimle dosya oluşturabilir. Sonrasında da o dosyaya 0755 izinlerini verdiğinizde eski sürümlerdeki gibi yedek alabilirsiniz.

        İçtenliklerimle,
        SGTR

        –--Dosta Başlangıcı-------------

        #!/bin/sh

        FILENAME="pfSense-full-backup-date "+%Y%m%d-%H%M".tgz"
        echo ">>> Creating full backup to /root/$FILENAME"
        tar czPf /root/$FILENAME
        --exclude dev/*
        --exclude tmp/*
        --exclude var/db
        --exclude var/run/*
        --exclude root/*
        --exclude var/empty/*
        --exclude var/empty
        --exclude var/etc
        /

        echo ">>> Backup completed.  Note: this backup includes config.xml!"
        echo ">>> To restore this backup run this command:"
        echo "    /etc/rc.restore_full_backup /root/$FILENAME"

        ----Dosta Bitişi-------------

        Bir umut olmasa bile Asla Pes Etme.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post