Skip to content

olegZmemer/backuper-tool-golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backuper Golang

It's a simple tool to do kind of backups and copyings of folders. You can create point which will represent name, source dist. and output dist. and reuse it in one command.

  1. Installation

  • Download backuper binary file
  • Put it in /usr/local/bin
  • run with sudo
  1. Arguments

  • backuper init - creates a config file in /etc/backuper where your points will locate

  • backuper add <name> <source_dir> <output_dir> - adds point to config for reuse

  • backuper list - prints a list of all points

  • backuper remove <name> - removes point

  • backuper exec <name>

    Flags

    • -m does a merge of your src and output folders
    • -r removes old backuped folder (if exists) and creates new
    • noflag creates folder with _unixtime milliseconds now

    Features to add

    • backuper edit - to edit point
    • backuper add -i <hours> - to create interval which specify how often backups will be created
    • deamon for non stop running with "nextBackup: time.Date"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published