I'm using the suspend mode for my automated backups, but in order to decrease disk writes I would like
to have rsync write it's temporary files to a ramdisk (tmpfs).
Something like this:
Anyone else tried this before ?
Would this be safe ? (I have enough RAM to be able to copy my largest LXC container)
to have rsync write it's temporary files to a ramdisk (tmpfs).
Something like this:
in /etc/fstab
tmpfs /mnt/ramdisk tmpfs nodev,nosuid,noexec,nodiratime,size=32G 0 0
tmpfs /mnt/ramdisk tmpfs nodev,nosuid,noexec,nodiratime,size=32G 0 0
in /etc/vzdump.conf
tmpdir = /mnt/ramdisk
tmpdir = /mnt/ramdisk
Anyone else tried this before ?
Would this be safe ? (I have enough RAM to be able to copy my largest LXC container)