Difference between revisions of "Save on ikeepincloud via Backup Manager"
Line 1: | Line 1: | ||
+ | <span data-link_translate_ro_title="Salva pe ikeepincloud prin intermediul Backup Manager" data-link_translate_ro_url="Salva+pe+ikeepincloud+prin+intermediul+Backup+Manager"></span>[[:ro:Salva pe ikeepincloud prin intermediul Backup Manager]][[ro:Salva pe ikeepincloud prin intermediul Backup Manager]] | ||
<span data-link_translate_ru_title="Сохранить на ikeepincloud через менеджер резервного копирования" data-link_translate_ru_url="%D0%A1%D0%BE%D1%85%D1%80%D0%B0%D0%BD%D0%B8%D1%82%D1%8C+%D0%BD%D0%B0+ikeepincloud+%D1%87%D0%B5%D1%80%D0%B5%D0%B7+%D0%BC%D0%B5%D0%BD%D0%B5%D0%B4%D0%B6%D0%B5%D1%80+%D1%80%D0%B5%D0%B7%D0%B5%D1%80%D0%B2%D0%BD%D0%BE%D0%B3%D0%BE+%D0%BA%D0%BE%D0%BF%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F"></span>[[:ru:Сохранить на ikeepincloud через менеджер резервного копирования]][[ru:Сохранить на ikeepincloud через менеджер резервного копирования]] | <span data-link_translate_ru_title="Сохранить на ikeepincloud через менеджер резервного копирования" data-link_translate_ru_url="%D0%A1%D0%BE%D1%85%D1%80%D0%B0%D0%BD%D0%B8%D1%82%D1%8C+%D0%BD%D0%B0+ikeepincloud+%D1%87%D0%B5%D1%80%D0%B5%D0%B7+%D0%BC%D0%B5%D0%BD%D0%B5%D0%B4%D0%B6%D0%B5%D1%80+%D1%80%D0%B5%D0%B7%D0%B5%D1%80%D0%B2%D0%BD%D0%BE%D0%B3%D0%BE+%D0%BA%D0%BE%D0%BF%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D1%8F"></span>[[:ru:Сохранить на ikeepincloud через менеджер резервного копирования]][[ru:Сохранить на ikeepincloud через менеджер резервного копирования]] | ||
<span data-link_translate_pl_title="Zapisz się na ikeepincloud przez Backup Manager" data-link_translate_pl_url="Zapisz+si%C4%99+na+ikeepincloud+przez+Backup+Manager"></span>[[:pl:Zapisz się na ikeepincloud przez Backup Manager]][[pl:Zapisz się na ikeepincloud przez Backup Manager]] | <span data-link_translate_pl_title="Zapisz się na ikeepincloud przez Backup Manager" data-link_translate_pl_url="Zapisz+si%C4%99+na+ikeepincloud+przez+Backup+Manager"></span>[[:pl:Zapisz się na ikeepincloud przez Backup Manager]][[pl:Zapisz się na ikeepincloud przez Backup Manager]] |
Revision as of 23:01, 7 December 2015
ro:Salva pe ikeepincloud prin intermediul Backup Manager
ru:Сохранить на ikeepincloud через менеджер резервного копирования
pl:Zapisz się na ikeepincloud przez Backup Manager
ja:Ikeepincloud バックアップ マネージャー経由で保存します。
ar:حفظ في إيكيبينكلود عن طريق إدارة النسخ الاحتياطي
zh:保存在 ikeepincloud 通过备份管理器
de:Speichern Sie auf Ikeepincloud über den Backup-Manager
nl:Bespaar op ikeepincloud via de Manager van de back-up
it:Salvare il ikeepincloud tramite Backup Manager
pt:Salvar em ikeepincloud através do Backup Manager
es:Ahorrar en ikeepincloud mediante Backup Manager
fr:Sauvegardez sur ikeepincloud via Backup Manager
This article has been created by an automatic translation software. You can view the article source here.
Install Backup Manager
Must first install the dependencies :
apt-get update |
apt-get install gettext perl |
Then install Backup Manager :
apt-get install backup-Manager |
During the installation you will be asked which directories you want backupr, as well as the destination of the files of backups. files of backups are.com pressed archives. Fill in the information, you can change them later in the configuration file. Backup Manager will create an archive different directory.
Backup Configuration Manager
Edit the default configuration of Backup Manager file :
vi /etc/backup-manager.conf |
Note : It is possible to run Backup Manager specifying a configuration file, so it's possible to multiply configurations to manage multiple backups with different behavior.
Configuration main
You will find in the file of the variables to change. Among the most important are :
- export BM_REPOSITORY_ROOT : Storage of archives in local directory
- export BM_REPOSITORY_CHMOD : Duties to be applied on the folder in octal format
- export BM_ARCHIVE_TTL : Number of retentions of backups (ex: If the value is 5 and that it is a backup daily so it will retain the backups a 5 latter-day )
- export BM_ARCHIVE_PREFIX : Prefix to add to the name of your backups
- export BM_LOGGER : Choose whether or not to redirect Backup Manager logs to syslog
- export BM_TARBALL_FILETYPE : Set the file type.FR om backup compressed. By default : "tar.gz "
For a more complete list and details, please consult the sources.
Configuration of the method of backup
- export BM_ARCHIVE_METHOD : Define the method of archive utilisée.
There are several mode of backups. you can combine seby ated by a space within the same quotes (Example : "tarball MySQL ") :
- tarball : backup complete. Performs each time a backup complete data
- tarball-incremental : backup incremental. Performs a backup full cycle (According to the number of retention ) the others are incremental. This allows to occupy less disk space, but it will change the restore method and requires to keep several backupconsecutive s
- mysql : activates the backup MySql. This corresponds to a dump of the database. The configuration of the backup is done by modifying the starting variables by "BM_MYSQL_ " (login, password, port, etc.)
- SVN : allows to use the tool "svnadmin dump " to perform a backup of your SubVersion repositories
- pipe : allows you to use a custom of your choice command to perform the backup
- None : No backup configured
FTP configuration
Here you can define how uploaded files FR om backupthe aim here is to export it to your IkeepInCloud account :
- export BM_UPLOAD_METHOD="ftp"
Attention : Need to fill the variables BM_UPLOAD_FTP_ and not BM_UPLOAD_SSH_ or other !
- export BM_UPLOAD_FTP_USER="00000" (Replace "00000" by your identifier IkeepInCloud )
- export BM_UPLOAD_FTP_PASSWORD="votre_mot_de_passe"
- export BM_UPLOAD_FTP_HOSTS="00000.FR 0x.ikeepincloud.com" (Replace "00000" by your ID IkeepInCloud and "fr0x" par "fr01" ou "fr02" Depending on the configuration FTP indicated in the mail delivery of your space IkeepInCloud )
- export BM_UPLOAD_FTP_PURGE="true"
- export BM_UPLOAD_FTP_TTL="durée_de_vie_des_archives_dans_le_Server"
- export BM_UPLOAD_FTP_DESTINATION="/files" (Location of backup on the Server IkeepInCloud, you can put it in a subfolder of "/files")
Configuration Execution
So the task of backup runs automatically, we must add it in cron :
Create a file backup-manager dans cron.daily :
touch /etc/cron.daily/backup-manager |
Copy this to the file :
#!/bin/sh |
# cron script for backup-manager |
test -x /usr/sbin/backup-manager || exit 0 |
/usr/sbin/backup-manager |
Finally run the following command to allow execution :
chmod 751 /etc/cron.daily/backup-manager |
Restoration of backups
The restore method will depend of type of archive as well as the method of backup you indicated (As "Tarball " ou "Tarball-incremental ")
Tarball
In the case of a backup tarball extract just the archive to be restored by the appropriate command in the directory of your choice :
Example : To extract an archive. tar.gz containing a directory "/Home " dating of 04/11/2014 :
tar -xvf ikoula-home.20141104.master.tar.gz -C / |
This will extract the contents of the archive into the root directory "/". It contains the directory "/Home ", the files in the archive are then extracted in "/Home ".
Incremental tarball
In the case of a backup tarball-incremental need restore the backup full (master) previous most recent can in turn each of backups up to the desired date.
Example : We want to restore "/home" the date of 06/11/2014 and the last backup complete date of 04/11/2014 :
tar -xvf ikoula-home.20141104.master.tar.gz -C / |
tar -xvf ikoula-home.20141105.tar.gz -C / |
tar -xvf ikoula-home.20141106.tar.gz -C / |
Restoring a backup Returns to unzip multiple archives containing only added files the day of backup from the archive. The problem is therefore that if a file has been deleted since the backup complete it will still be restored.
Sources
Ubuntu : http://doc.Ubuntu-fr.org/backup-manager
Debian : http://www.lafermeduweb.NET/billet/tutorial-Creer-un-serveur-Web-complet-sous-Debian-5-backup-SECURITE-197.html
Backup Manager : http://www.digitalspirit.org/blog/index.php/post/2006/09/06/47-backup-manager
This article seemed you to be useful ?
Enable comment auto-refresher