Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Files Backuper application designed to automate the process of backing

NotificationsYou must be signed in to change notification settings

hightemp/files_backuper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Files Backuper is a application designed to automate the process of backing up and synchronizing files from multiple servers. With specific configurations, it facilitates seamless backup creation, storage management, and restoration processes via SFTP and SSH.

Features

  • Automated Backups: Schedule backups according to a specified time interval.
  • Flexible Configuration: Easily configure servers and paths to back up through YAML files.
  • Multi-Server Support: Handle backups from multiple servers with ease.
  • Change Detection: Automatically detect changes in files and create incremental backups.
  • Restoration: Simple and efficient restoration process using the latest backups.

Installation

Clone the repository and build the application using Go:

git clone https://github.com/hightemp/files_backuper.gitcd files_backupergo build -o files_backuper

Configuration

The application uses a YAML configuration file defining servers, settings, and backup configurations. Below is an example configuration:

# Config.yamlServers:  -Name:example-serverType:sshHost:your.server.comPort:22User:your_userPassword:your_password# If using password authenticationIdentityFile:/path/to/private/key# If using key-based authenticationSettings:BackupSaveFolder:/path/to/local/backup/folderCheckChangesTimeout:10mMaxBackupsCount:5BackupsDatabase:/path/to/database.yamlBackupsConfigs:  -Name:daily-backupServer:example-serverPath:/remote/path/to/backup

Usage

Run the application with the desired flags:

./files_backuper -config ./config.yaml -run_as_service

Flags

  • -config : Path to the YAML configuration file.
  • -run_as_service : Run the application as a service, continuously checking and creating backups.
  • -backup_server : Force a backup for a specific server by name.
  • -backup : Force a specific backup by name.
  • -upload_latest_backup : Upload the latest backup for a specified backup configuration.
  • -upload_latest_server_backup : Upload the latest backup for a specified server by name.

License

MIT License

About

Files Backuper application designed to automate the process of backing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp