This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

[SOLVED] Automatic Configuration backup

XigmaNAS Basic Tune-up
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
st4t1c
NewUser
NewUser
Posts: 7
Joined: 12 Nov 2012 21:32
Status: Offline

[SOLVED] Automatic Configuration backup

Post by st4t1c »

Is there a way to automatically backup the configuration .xml?

i know i shouldnt put it on the same disks its supposed to "administer" but i'll be copying it over to another NAS with rsync so i will still have it if hell breaks loose.

any ideas?
Last edited by st4t1c on 14 Nov 2012 13:34, edited 1 time in total.

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Automatic Configuration backup

Post by alexey123 »

You have only one file with config, you change config one time per month and you need to automatically save it?
Save it manualy before change any value.
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

st4t1c
NewUser
NewUser
Posts: 7
Joined: 12 Nov 2012 21:32
Status: Offline

Re: Automatic Configuration backup

Post by st4t1c »

fair enough.

but can it be done?

Onichan
Advanced User
Advanced User
Posts: 238
Joined: 04 Jul 2012 21:41
Status: Offline

Re: Automatic Configuration backup

Post by Onichan »

I don't see why you couldn't just make a cron job to do it. Your config is just a flat xml file. I don't know bash so I couldn't help you much, but you just need to make a weekly or whatnot cron job that copies the config.xml to wherever.

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Automatic Configuration backup

Post by alexey123 »

st4t1c wrote:but can it be done?
Yes.
Use rsync. But NOT STORE CONFIG BACKUP ON ANY NAS4FREE DISK. Use another place, such your PC
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

st4t1c
NewUser
NewUser
Posts: 7
Joined: 12 Nov 2012 21:32
Status: Offline

Re: Automatic Configuration backup

Post by st4t1c »

is the correct file /conf/config.xml ?

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: Automatic Configuration backup

Post by alexey123 »

YES
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

st4t1c
NewUser
NewUser
Posts: 7
Joined: 12 Nov 2012 21:32
Status: Offline

Re: Automatic Configuration backup

Post by st4t1c »

Thanks a lot!

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: [SOLVED] Automatic Configuration backup

Post by alexey123 »

If all work - repair to [SOLVED] your first post
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

Post Reply

Return to “XigmaNAS Basic Tune-up”