Skip to content
/ Cudload Public

Console utills for download and upload backup to remote servers

Notifications You must be signed in to change notification settings

nabat/Cudload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 

Repository files navigation

Cudload

Console utils for download and upload backup to remote servers

VERSION 1.1


Variables

Can be found on the first lines of script

  • login - login for Yandex Disk

  • password - password for Yandex Disk

  • DROPBOX_UPLOADER_PATH - path to dropbox uploader

  • PASSWORD_PATH - path to password file

  • DOWNLOAD_PATH - path to download directory

  • ARCHIVE_BACKUP_PATH - path to archived backup

  • GOOGLE_UPLOADER_PATH - path to google uploader

  • SCRIPT_PATH - path to cudload.sh


Cudload.sh - simple backup operations

Usage:

./cudload.sh [-i] [-ud] [-D NUMBER_OF_DAYS] [-ryg] [-l] [-o FILE|DIR]

   -i - interactive mode
   -u - upload mode
   -d - download mode
   -D - delete old backups (only for Google Drive)
   -r - Dropbox
   -y - Yandex.Disk
   -g - Google Drive
   -w - get Dropbox uloader
   -q - get google uploader
   -m - archive for last file
   -o - archive for file or folder
   -l - list of files
   -f - name of file to download
   -z - ID for file in Google Drive
   -h - Show this help

Examples:

  • Show list of files on Google Drive
    ./cudload.sh -l -g

  • Encrypt and upload /home/administrator to Google Drive
    ./cudload.sh -u -g -o /home/administrator/

  • Download and decrypt file from Google Drive by ID 0BzA2l61Ik_23VzZtT0NXdDJYcW8
    ./cudload.sh -d -g -f 2016-03-30 -z 0BzA2l61Ik_23VzZtT0NXdDJYcW8

  • Delete backups older than 10 days on Google Drive
    ./cudload.sh -D 10 -g

  • Download from Yandex.Disk
    ./cudload.sh -d -y -f 2016-03-30


Be sure to copy your password file to secure place, to be able to restore backup, if backuped server will die

About

Console utills for download and upload backup to remote servers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages