From 884cac80c2b0e56d107a27dc404cd027f8cb26ad Mon Sep 17 00:00:00 2001 From: XargonWan Date: Thu, 26 Oct 2023 16:13:54 +0200 Subject: [PATCH] Wiki: Added rsync command to backup former files during the update --- website/docs/02-installation/02-upgrading.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/docs/02-installation/02-upgrading.mdx b/website/docs/02-installation/02-upgrading.mdx index d93161083d..3458241b0f 100644 --- a/website/docs/02-installation/02-upgrading.mdx +++ b/website/docs/02-installation/02-upgrading.mdx @@ -56,6 +56,10 @@ please **make sure to create in-game saves** before upgrading. ```sh cp -rf Onion-v4.2.0/* /run/media/mmcblk0p1 ``` +NOTE: Optionally, instead of the command above, if you wish to backup the files that should be overwritten by the updated ones you can run this command instead (repleace the palceolder paths with the actual paths): + ```sh + rsync -av --remove-source-files --backup --backup-dir=onion-backup Onion-v4.2.0/ /run/media/mmcblk0p1 + ```