- How to install time2backup server
- How to use time2backup server
- Configuration and security
- Sudo mode
- How to uninstall time2backup server
- Troubleshootting
- Download time2backup server deb package here
- Install package:
dpkg -i time2backup-server-X.X.X.deb
- Add all authorized users to run time2backup server in the
t2b-server
group
- Download time2backup server here
- Uncompress archive where you want
- Copy the file
config/time2backup-server.default.conf
toconfig/time2backup-server.conf
- Edit the config file with at least the destination path
- (optionnal) Run
install.sh
script and add all users who wants to run time2backup server in thet2b-server
group
In your time2backup client config file, add the server address to destination
like this:
destination = ssh://user@myserver
If you have the time2backup-server
command available on the server, that's all.
If you have put the server in a custom place, you have to specify the path of the script server like this:
t2bserver_path = /path/to/time2backup-server/t2b-server.sh
To secure access to time2backup server, create the file config/auth.conf
and add passwords
like the following examples:
user:password
Remember that this file is in plain text, and may be visible by time2backup users in their client configuration file. Use random generated passwords, or long tokens.
To use time2backup server with sudo, you have to add the following line in /etc/sudoers.d/time2backup-server
:
<USER> ALL = NOPASSWD:/usr/bin/time2backup-server
Uninstall package: apt remove time2backup-server
- (optionnal) Run
uninstall.sh
script if you have runinstall.sh
before. - Delete the time2backup-server folder
Some common bugs or issues are reported here.
In case of problem, please report your bugs here: https://github.com/time2backup/server/issues
Enable the debug mode in your server configuration and inspect the log file. You can also turn on the debug mode on your time2backup client.