I'm the root user, and I'm wondering if I can use the command 'umount /' followed by 'cp / /backup1' to successfully back up my system. I'm assuming that '/backup1' is on an ext4 filesystem and has enough space. Will this work, or are there issues I should be aware of?
3 Answers
You really can't unmount '/' without running into issues. If you're looking to back up your system safely, booting from a live USB is a solid approach. That way, you can ensure that nothing is modifying the filesystem while you create a copy.
Nah, you won't be able to unmount '/' since there will be active files in use. It's generally not necessary to unmount your main filesystem to perform a backup. You might want to consider using tools like rsync, which let you do backups without that hassle. There are also options like file system snapshots or dedicated backup tools like BorgBackup and Restic that could be really helpful.
If you're not using LVM, there's a better way to manage backups these days. Consider looking into different tools and strategies—backing up properly can save you a lot of headaches in the future!

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures