Im a fairly new linux user and im trying to learn how to do a backup shell script. i have this so far,
Code:
#!
Hi all,
I have a simple script, which for sure i need to enhance more and more. For now, it is just making a compress file in tar.gz format in output dir.
Here is script:
Quote:
#!/bin/bash
#Defines output file
OUTPUT=/Documents/backup_$(date +%Y%m%d%H%M%S).tar.gz
#Defines directory to backup
Hello I'm doing a script for doing backups but i can only backup directories from / any other files for example /etc/X11 cannot be backed up. how do i solve this?
this is the code i'm using now:
#!/bin/bash
clear
read -p "Enter the directory to backup:" DIRECTORY
echo
echo "backing up $DIRECTORY"
I am trying to create a tar backup script.
Hello,
I have problem at my online backup script for Ubuntu.
I have added an echo to debug it.
Code:
huangyingw@laptop:~/bashrc$ cat tubak.sh
#!
Hi. Can someone tell me if the following script that i have made is a script for INCREMENTAL BACKUP or FULL BACKUP.
Hi,
I am more familiar with windows so far. There I regularly use Ghost to backup my OS partition.
Is there anything similar on the Linux side?
I have used "dd", but this does not offer to search the file and restore dedicated files I probably have lost.
I can use "tar", but it is not on a partition-level.
I am trying to work on a script that will first check to see if a backup of a file exists, and if it does it will prompt the user to ask if he/she wants it replace. Of course, if the user says no then the file should be skipped.
Here is the code I have written. Does it look as if it is working correctly?
Code:
#!
Hi. Can someone tell me if the following script that i have made is a script for INCREMENTAL BACKUP or FULL BACKUP.