[luci] backup with /rom/etc

Patrick Grimm patrick at lunatiki.de
Fri May 29 17:57:05 CEST 2009


hi

Is it possible to include the original etc directory in the backup tar?
So that i can see the changes in the backup tar.

Like this

mkdir /lib/uci/upload/etc.orig
mount /rom/etc /lib/uci/upload/etc.orig
make_tar
umount /lib/uci/upload/etc.orig
rmdir /lib/uci/upload/etc.orig

tar -xf backup.tgz
diff -Nru backu/etc /lib/uci/upload/etc.orig

Or is there a other way?

Gruss
            Patrick



More information about the luci mailing list