Welcome to the IPFire Wiki

This wiki is a community-maintained resource about everything there is to know about IPFire. Join us and help us improving it!

Looking for something?

Use the search and find answers to everything about IPFire. If you cannot find what you are looking for, join our community and talk to fellow IPFire users, developers and everybody else involved in the project.

IPFire Community

Architecture Change

You can restore a backup created on a system with a different architecture. However the graph databases which are architecture-dependent so they won't be readable and writable from the newer one.
You have two options.

After install and restore of the backup you can delete the old database, executing the following commands:

/etc/init.d/collectd stop
/etc/init.d/vnstat stop
rm -rf /var/log/rrd/*
rm -f /var/log/vnstat/*
/etc/init.d/collectd start
/etc/init.d/vnstat start

Otherwise you can dump the databases into files, therefore restore them into new install.

On old system, before create a backup, dump the data into files.

rrdtool dump /var/log/rrd/hddshutdown-sd*.rrd /hddshutdown-sd*.xml
rrdtool dump /var/log/rrd/hddtemp-sd*.rrd /hddtemp-sd*.xml

and do it for all the .rrd files contained into /var/log/rrd/*.rrd

Do a backup, save the resulting file.
Install the new architecture, restore the backup, then import data

rrdtool restore /hddshutdown-sd*.xml /var/log/rrd/hddshutdown-sd*.rrd
rrdtool restore /hddtemp-sd*.xml /var/log/rrd/hddtemp-sd*.rrd
Edit Page ‐ Yes, you can edit!

Older Revisions • November 22 at 2:42 pm • Pike