Novell Cool Solutions

Filr backup

restori

By:

June 23, 2014 3:45 pm

Reads:1,274

Comments:0

Score:Unrated

Print/PDF

Download scp_1.sh_1.txt

Download Filr_bk.sh_2.txt

Novell Filr doesn’t have backup procedures. The documentation shows what directories to save (https://www.novell.com/documentation/novell-filr1/filr1_admin/data/ble2mdl.html).

Filr doesn’t store users data except for external users when personal storage are enabled so, in some cases,  saving only the configuration maybe sufficient.

For the backup, normally I use Amanda, but in this case I didn’t want to add software, so I used two scripts to collect data and store them in a remote server, where backups are configured and active.

The procedures are very simple and can be improved. The mysql data are stored via mysqldump into a compressed file. This file and other directory are stored in tar file end moved on remote server via scp.

For scp authentication I preferred the use of expect’s scripts, instead of manage certificates.

Of course, users names and password are exposed on script, so is very important to remove read permission for anyone except for root (chmod 700).

For scp, on the example, I’ve used root user, but on the production environment, for security reasons, another user was used.

I hope this example can be usefull for some one.

Regards, Fabrizio

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Tags: , ,
Categories: Cool Tools, Filr, Technical

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS