Skip to content

Create backups from your linux server and download them on-the-fly.

License

Notifications You must be signed in to change notification settings

moddx/sshbackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSHBackup

Create backups from your linux server and download them on-the-fly.

SSHBackup uses simple SSH pipelining to retrieve the data and stores it locally.

How it works

SSHBackup connects to your server via ssh and executes a command or script of your choosing. The command needs to pipe the backup data to stdout, in order for SSHBackup to pick it up and store it in a place of your choosing.

An example would be the following command, which stores all data in the root-directory in a tar-archive, and writes that to stdout.

tar cfvz - / -C /

the User Interface

Parameters

  • Host

    • the hostname/ip of the server to backup
  • Port

    • the SSH server-port (default: 22)
  • User

    • the user to log into the server with
  • Password

    • the user's password
  • HostKey (fingerprint)

    • the fingerprint of the SSH server's host key, for verification
  • Command

    • the command run on the server, which writes the backup to stdout
  • OutputFolder

    • the folder to store the backup in
  • NamingScheme

    • (currently) the file to store the backup in. (planned) a naming pattern

Get it

Either git clone and build it yourself with maven or download a windows build here (signed with key id: F864BE90)

Dependencies

SSHBackup makes use of the following libraries:

About

Create backups from your linux server and download them on-the-fly.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages