Запуск клиента RuBackup
Для штатной эксплуатации рекомендуется запускать клиент RuBackup как сервис. Для этого выполните следующие действия:
-
Включите сервис клиента RuBackup:
sudo systemctl enable \ /opt/rubackup/etc/systemd/system/rubackup_client.service
-
Перезагрузите
systemctl
:sudo systemctl daemon-reload
-
Запустите сервис
rubackup_client
:sudo systemctl start rubackup_client
Уточнить статус клиента RuBackup можно при помощи команды:
sudo systemctl status rubackup_client
● rubackup_client.service - RuBackup client Loaded: loaded (/etc/systemd/system/rubackup_client.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2023-02-20 11:17:59 UTC; 6 days ago Process: 1760 ExecStart=/opt/rubackup/bin/rubackup_client start (code=exited, status=0/SUCCESS) Main PID: 1763 (rubackup_client) Tasks: 3 (limit: 4610) Memory: 60.9M CGroup: /system.slice/rubackup_client.service └─1763 /opt/rubackup/bin/rubackup_client start фев 20 12:18:07 rb-primary rubackup_client[1763]: [2023-02-20 12:18:07] Info: Removing obsolete snapshot file: /rubackup-tmp/rb-primary_TaskID_1_NORuleOrStrategy_0_D2023_2_20H12_14_16_BackupType_1_ResourceType_> фев 20 12:18:07 rb-primary rubackup_client[1763]: [2023-02-20 12:18:07] Info: bool RbModuleUniversal::run_rbfd_command(const string&, std::string&, pid_t&, std::string&):rbfd command: /opt/rubackup/bin/rbfd -a > фев 20 12:18:07 rb-primary rubackup_client[1763]: RBFD PID: 62636 фев 20 12:18:07 rb-primary rubackup_client[1763]: Set status for task ID: 3 from: Start_Transfer to: Transmission фев 20 12:18:10 rb-primary rubackup_client[1763]: [193B blob data] фев 20 12:18:10 rb-primary rubackup_client[1763]: [2023-02-20 12:18:10] Info: The archive '1' has been unpacked successfully фев 20 12:18:10 rb-primary rubackup_client[1763]: Final progress: 7832 100% фев 20 12:18:10 rb-primary rubackup_client[1763]: Set status for task ID: 3 from: Transmission to: Finish_Transfer фев 20 12:18:10 rb-primary rubackup_client[1763]: Set status for task ID: 3 from: Finish_Transfer to: Done фев 20 12:18:10 rb-primary rubackup_client[1763]: Task w