Revision 74e84f2b
src/etc/rc.backup_logs.sh | ||
---|---|---|
36 | 36 |
mkdir -p "${RAM_Disk_Store}" |
37 | 37 |
fi |
38 | 38 |
|
39 |
/usr/bin/tar -czf "${RAM_Disk_Store}/logs.tgz" -C / "${DBPATH#/}/" |
|
39 |
/usr/bin/tar -czf "${RAM_Disk_Store}/logs.tgz" --exclude "${DBPATH}/restore_ramdisk_store.boot" -C / "${DBPATH#/}/"
|
|
40 | 40 |
|
41 | 41 |
echo "done."; |
42 | 42 |
fi |
Also available in: Unified diff
Exclude the ramdisk restore log from the archive
The ramdisk restore log is meant to log the latest restore attempt. It
must be excluded from the archive to avoid clobbering the active log used
while the archive is being extracted.