Skip to content
Snippets Groups Projects
Select Git revision
  • 3ee6d4fd8f0f02f05fbd41c3aace2325ddc6a917
  • master default protected
  • srv
  • github
  • 1.0
5 results

configuration.pl

  • configuration.pl 835 B
    #!/usr/bin/perl
    
    %CFG = (
        'DISKS' =>{
            'CONNECTED' => {
            },
            'KNOWN' => {
            },
        },
        # Add any script as a key, it's arguments as a value
        # Last argument is always the device without any option before
        'SCRIPTS' => {
            #
            # Options
            #       --data (/home)
            #       --verbose
            #       --config (/etc /root /var/www /srv /usr /lib /opt)
            #       --mysql (imply --config)
            #       --postgresql (imply --config)
            #       --unifi (imply --config, /var/lib/unifi)
            #       --gitlab => backup gitlab
            #       --unifi (/var/lib/unifi)
            #       --seafile ARG (mount seafile fuse and back it up)
            #       --encfs PASS (encrypt backup directory with pass
            'backup_nocloud.sh' => '--data --config --mysql',
        },