Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Why is the backup first copied to a local drive? #507

Open
GenFlogi opened this issue Mar 19, 2023 · 1 comment
Open

Question: Why is the backup first copied to a local drive? #507

GenFlogi opened this issue Mar 19, 2023 · 1 comment

Comments

@GenFlogi
Copy link

Disclaimer - I am not an expert on this topic and my question could be stupid but I am trying to understand this a bit more.

So to my understanding, when a full backup is being made it first copies everything to the set local directory so that it can compress/encrypt the data before sending it to the external backup site. Now my question is, why does it need to copy everything to the local drive? Can't it compress/encrypt the data in memory and then send it directly to do the off-site backup?

The reason why I am asking this is that regularly writing and rewriting everything on my hard disk puts a lot of stress on it (stress that in my eyes is not needed).

Also if this is required for compression/encryption would it be possible to skip this step if you disable both compression and encryption?

Thanks in advance 😅

@Kisaragi-ng
Copy link

Now my question is, why does it need to copy everything to the local drive? Can't it compress/encrypt the data in memory and then send it directly to do the off-site backup?

Some users might have data that's larger than their memory, so not processing it in memory by default makes more sense.

The reason why I am asking this is that regularly writing and rewriting everything on my hard disk puts a lot of stress on it (stress that in my eyes is not needed).

You should see the command occ backup:external:appdata to store the processing data elsewhere, including to your ramdisk

Also if this is required for compression/encryption would it be possible to skip this step if you disable both compression and encryption?

uncheck both checkbox from webui under "Packing processing"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants