Commit Graph

61 Commits

Author SHA1 Message Date
Jeremy Gardais c1881635a1
Add the rsync commands to the configuration file
This file is then send to the server, so BackupPC directly interpreter
it.
2018-04-25 16:41:08 +02:00
Jeremy Gardais 4cf4e0dccb
Fix printf colors 2018-04-25 16:31:54 +02:00
Jeremy Gardais 32d0fa6d62
Fix some type and printf 2018-04-25 16:03:23 +02:00
Jeremy Gardais eb33666a92
Add commands to create backuppc user 2018-04-25 15:55:31 +02:00
Jeremy Gardais 8bf3031d51
Add folds for functions 2018-04-25 15:39:24 +02:00
Jeremy Gardais febfa4ecc4
Add functions for backuppc user
Create the user.
Allow the backuppc user to use rsync with sudo without password.
2018-04-25 15:31:14 +02:00
Jeremy Gardais 4d41973e92
Not overwrite user file and fix the use of homedir
Don't overwrite authorized_keys if it exist.
2018-04-25 12:03:36 +02:00
Jeremy Gardais 764449747d
Fix typo and useless ";;" 2018-04-25 11:40:23 +02:00
Jeremy Gardais 0c8637b638
Activate DEBUG, don't perform any action on the system 2018-04-25 11:22:07 +02:00
Jeremy Gardais 9463b4ee27
Add a script to install backuppc on MAC only 2018-04-25 11:14:31 +02:00
Jeremy Gardais a48427c412 Ensure to test if the entry really exist in /etc/hosts. 2017-12-08 08:49:44 +01:00
Jeremy Gardais 1e18ddb88e Add informations about new DSI Windows installations. 2017-12-05 14:31:18 +01:00
Jeremy Gardais 9d88b7fa26 Add informations about starting SSHD on Linux. 2017-12-05 11:54:43 +01:00
Jeremy Gardais c74afb440b Replace double white spaces with tabulations. 2017-11-27 11:29:13 +01:00
Jeremy Gardais bea48dcbd0 Add a specific ssh user for Windows DSI computer.
See bugzilla 1956.
2017-11-27 11:28:02 +01:00
Jeremy Gardais 2d4901769e Verify if hostkeycontent is available in the file and use it.
The new configuration file provide by the BackupPC client from DSI add
hostkeycontent param.
2017-09-28 14:09:44 +02:00
Jeremy Gardais 5c35ecc385 Add info how-to add a backuppc to the main user's group. 2017-06-07 15:03:57 +02:00
Jeremy Gardais 31f18197e5 Some corrections. 2017-01-23 17:02:20 +01:00
Jeremy Gardais 974bfcce76 Add info about "Erreur de transfert" 2017-01-20 15:22:12 +01:00
Jeremy Gardais 550e0756ee Merge branch 'master' of vmgit.ipr.univ-rennes1.fr:cellinfo/backuppc_client 2017-01-20 11:57:36 +01:00
CARRE Anthony 3c3441794c linux only script, no mac inside 2017-01-20 11:41:01 +01:00
CARRE Anthony 57d810957b update exclude list 2017-01-20 11:40:34 +01:00
Jeremy Gardais 632f33ac9a Add "Début de sauvegarde très long" 2017-01-20 10:29:53 +01:00
Jeremy Gardais b042949d18 Add cygwin issue. 2016-12-20 12:08:25 +01:00
Jeremy Gardais 46d12f3d17 Add "Clé inaccessible" issue. 2016-12-08 09:42:44 +01:00
Jeremy Gardais 8d29e87cc1 Correct README.md 2016-11-04 10:13:17 +01:00
Jeremy Gardais a4b95ad5cb Add error with special character in username or computer name. 2016-11-04 10:11:58 +01:00
Jeremy Gardais 0eb1bcb13b README: correct indentation 2016-07-07 11:15:07 +02:00
Jeremy Gardais aadff42ca6 Add Ping too slow issue 2016-07-04 15:42:55 +02:00
Jeremy Gardais 48563e81a7 Linux: now uses useradd instead of adduser (not working on opensuse). 2016-06-22 10:56:38 +02:00
Jeremy Gardais 52633d7fe9 Add info How-To uninstall for "Poste DSI". 2016-06-02 11:51:19 +02:00
Jeremy Gardais 2f83dd00fd Add email for "backup scheduled". 2016-05-30 14:14:03 +02:00
Jeremy Gardais 11fe13aa5c Add email for backup in progress. 2016-05-30 12:11:50 +02:00
Jeremy Gardais 81445c7b5f Add wrong network network issue. 2016-05-30 11:21:53 +02:00
Jeremy Gardais e161e664aa Add email for empty hostkey (ssh issue). 2016-05-30 11:11:23 +02:00
Jeremy Gardais fd1768ccb9 Add email for "Unable to read 4 bytes". 2016-05-30 11:10:28 +02:00
Jeremy Gardais e92613b8fc Add info about Unable to read 4 bytes (DSI install). 2016-05-30 08:49:23 +02:00
Jeremy Gardais dd1319b5a6 Add info about empty ssh hostkey. 2016-05-30 08:48:35 +02:00
Jeremy Gardais 8286b26d96 Correct the warning if sshd is unavailable. 2016-05-20 15:09:31 +02:00
CARRE Anthony a424966e22 allow spaces in dirname 2016-05-20 09:08:15 +02:00
CARRE Anthony a4917030d4 mv hide backuppc account command in second script 2016-05-19 13:58:28 +02:00
Jeremy Gardais 65c4d3c5a2 Check if mail address from UR1 2016-05-19 11:22:01 +02:00
Jeremy Gardais b244cdd592 Add some read and some messages before exit the script 2016-05-19 11:14:32 +02:00
Jeremy Gardais 607482b5ee Server script: check if user was on univ-rennes1 network 2016-05-19 09:58:06 +02:00
CARRE Anthony 23b7b66cf0 add 4 lines to explain how to use the script 2016-05-12 09:51:35 +02:00
Guillaume Raffy 01253a6110 bug 1323 : après avoir testé avec succès que la commande de désactivation du mode furtif fonctionne bien sur simpa-macbook2 (osx 10.10), ajout de cette commande au script d'install de sauvegarde backuppc 2016-05-11 12:26:16 +02:00
Jeremy Gardais b7733bae9d Check if user is on univ-rennes1 network. 2016-05-11 11:59:37 +02:00
Jeremy Gardais 3cc032e857 Ensure SSH is installed after 01_install_backuppc 2016-05-11 11:45:58 +02:00
CARRE Anthony 1eb5b3f95b change output dir 2016-05-09 09:48:35 +02:00
Guillaume Raffy 739c2f6dd9 Bug 1326 - [BackupPC] le script d'installation pour OSX n'active pas SSHD : correction du bug en ajoutant une commande qui active le service ssh. J'ai testé le scrip et il fonctionne sur simpa-macbook2 (osx 10.10). 2016-05-04 16:14:19 +02:00