-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
58 lines (42 loc) · 1.65 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
*****
New box.net backup script is going to be written tomorrow/on the weekend
It will just use cp, to copy over any files that are not currently in the
box.net directory.
Aswell as do the db dump. new project will be created
*****
***************
NOTE
rsync doesnt just send the delta files
Need to do more research to set up a better back up solution using box.net
*************
-----------------------------
Backup To Box.net
----------------------------
Jack Dwyer
06 October 2011
Bash Backup Script utilsing the free 50gb offer of box.net
Can use any mounted directory, is not tied directly to box.net.
Features:
-Email's you if the backup failed
-Backs up Mysql DB if required
-Backs up all specifed directories
Software needed:
- msmtp for emailing to gmail account
I have mine configured similar to how is shown in this post:
http://ubuntuforums.org/showthread.php?t=1472520
- davfs2 to mount box.net if chosing to use that as your backup location.
I setup my box.net following these steps:
http://ubuntuforums.org/showpost.php?p=11258734&postcount=34
---------------------------------------------------------------------
How to use:
---------------------------------------------------------------------
All you should need to do, is:
1st - Setup Global Variables
2nd - Fill in the source, and destination Array with all the directories
you want backed up.
Source[i] needs to make with its specified Destintion[i]
3rd - Same deal with database's if you you it backed up. Also need to give
mysql database username, and password.
4th - Set the email to yours, or else when it fails you wont get an email!
5th - Cronjob the baby
Pretty sure that sums it up.