You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rsync will delete any files from $HDD_LOG that are no longer found in $RAM_LOG:
rsync -aXv --inplace --no-whole-file --delete-after "$RAM_LOG"/ "$HDD_LOG"/ 2>&1| tee -a "$LOG2RAM_LOG"
While cp will simply merge them:
cp -rfup "$RAM_LOG"/ -T "$HDD_LOG"/ 2>&1| tee -a "$LOG2RAM_LOG"
I'm not sure which behavior makes more sense, but it should definitely match between the two cases. I personally think merging is more useful since then I can configure my journald to only keep 50MB of logs, so it will delete old logs, but if log2ram already saved them to disk, they should not be overwritten.
The text was updated successfully, but these errors were encountered:
rsync will delete any files from
$HDD_LOG
that are no longer found in$RAM_LOG
:While cp will simply merge them:
I'm not sure which behavior makes more sense, but it should definitely match between the two cases. I personally think merging is more useful since then I can configure my journald to only keep 50MB of logs, so it will delete old logs, but if log2ram already saved them to disk, they should not be overwritten.
The text was updated successfully, but these errors were encountered: