Ubuntu File Backup & Restore
There are various methods available in Ubuntu for backing up and restoring files or directories. Here are some popular ones:
- Backup and restore files or directories using the cp command.
 - Backup a file or directory: cp -r /path/to/source /path/to/destination.
 - Restore files or directories: cp -r /path/to/backup /path/to/restore
 - Backup and restore files or directories using the rsync command.
 - Backup files or directories: rsync -av /path/to/source /path/to/destination
 - Restore files or directories using the command: rsync -av /path/to/backup /path/to/restore.
 - Create and extract backup files using the tar command.
 - Create a backup file: tar -cvzf backup.tar.gz /path/to/source
 - Extract the backup file by using the command: tar -xvzf backup.tar.gz -C /path/to/restore
 - Utilize GUI tools like Deja Dup to backup and restore files or directories.
 - Install Deja Dup by running the following command: sudo apt install deja-dup
 - Open Deja Dup and adjust the backup and restore settings.
 
No matter which method you choose, make sure to back up the files or directories stored in a secure location to prevent data loss.