olegZmemer / backuper-tool-golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Go 96.3%Language:Makefile 3.1%Language:JavaScript 0.6%