Git Product home page Git Product logo

ptaf-backup's Introduction

Copy backup from PT AF to external storage

Copy to local folder

pt@ptaf-vm:~/ptaf-backup$ sudo /opt/waf/python/bin/python ./ptaf-copy-backup-to-local-dir.py -h
usage: ptaf-copy-backup-to-local-dir.py [-h] [-t SCHEDULE] [-f FOLDER]

Copy backup from PT AF to local directory

optional arguments:
  -h, --help            show this help message and exit
  -t SCHEDULE, --task-schedule SCHEDULE
                        Name of Task Schedule to check, e.g. "Main settings".
                        Default is "All settings"
  -f FOLDER, --folder FOLDER
                        Full path to store backup, e.g. /folder1/subfolder/.
                        Default is /backup/

Copy to SMB share

pt@ptaf-vm:~/ptaf-backup$ /opt/waf/python/bin/python ./ptaf-copy-backup-to-smb.py -h
usage: ptaf-copy-backup-to-smb.py [-h] [-t SCHEDULE] [-s HOST] [-f FOLDER]
                                  [-d DOMAIN] [-l LOGIN] [-p PASSWORD]

Export backup from PT AF

optional arguments:
  -h, --help            show this help message and exit
  -t SCHEDULE, --task-schedule SCHEDULE
                        Name of Task Schedule to check, e.g. "Main settings"
  -s HOST, --server HOST
                        Server name or IP to store backup, e.g. MYSERVER or
                        192.16.0.1
  -f FOLDER, --folder FOLDER
                        Path to share excluding root, e.g. folder1
  -d DOMAIN, --domain DOMAIN
                        Domain for login, e.g. MYDOMAIN
  -l LOGIN, --login LOGIN
                        Username for share, e.g. Administrator
  -p PASSWORD, --password PASSWORD
                        Password for share, e.g. P@ssw0rd

ptaf-backup's People

Contributors

b4bay avatar honeybot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.