I have a Raspberry Pi 2B and as a long term use for it, I thought I could use it to archive many files and folders (~200GB) on a couple of external hard disks. This would take a couple of days on my main machine, but I would like to move this work (which tends to eat the CPU) to the Pi, which is more cost efficient and safer to run 24/7. I installed p7zip-full and began compressing but it always crashes about 30mins-1hr in. Is this due to low/no memory as the Pi has only 1GB, or something else?
If so, is the way around this to create a swap file on the hard disk I am working from and use that, or are there some settings that will optimise 7zip for low memory? Compression ratio should be as high as possible as time is not an object, this can run for weeks and I don't mind. I've looked on the internet and using a Pi as an archiver seems to be unheard of so are there any major downsides/obstacles that I should be aware of (other than slow speed and low memory)? I'm interested in hearing your opinions.