Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 55 lines (46 sloc) 0.851 kb
1f4eeba @winton Version 0.1.0
authored
1 rbackup
2 =======
3
4 Backup your stuff with Ruby and Rsync.
5
04b00ed @winton Compatible with Ruby 1.9.1, updated README
authored
6 Compatibility
7 -------------
8
9 Tested with Ruby 1.8.6, 1.8.7, and 1.9.1.
10
1f4eeba @winton Version 0.1.0
authored
11 Setup
12 -----
13
14 <pre>
04b00ed @winton Compatible with Ruby 1.9.1, updated README
authored
15 sudo gem install rbackup --source http://gemcutter.org
1f4eeba @winton Version 0.1.0
authored
16 </pre>
17
18 Create ~/.rbackup.yml
19 ---------------------
20
21 <pre>
eaed271 @winton README
authored
22 site:
a245394 @winton README
authored
23 server:
eaed271 @winton README
authored
24 source: /Users/me/site
25 destination: deploy@server:/var/www
26 exclude:
27 - .git
28 - /site/config/database.yml
cf81d51 @winton Version 0.1.2
authored
29 usb:
a245394 @winton README
authored
30 documents:
31 source: ~/Documents
32 destination: /Volumes/USB Key
33 exclude:
34 - Software
35 - Virtual Machines.localized
36 pictures:
37 source: ~/Pictures
38 destination: /Volumes/USB Key
c738450 @winton Adding include option and spec
authored
39 include:
40 - Favorites
1f4eeba @winton Version 0.1.0
authored
41 </pre>
42
43 Backup
44 ------
45
46 <pre>
eaed271 @winton README
authored
47 rbackup site
a245394 @winton README
authored
48 // deploys your site
cf81d51 @winton Version 0.1.2
authored
49 rbackup usb
a245394 @winton README
authored
50 // back up documents and pictures
eaed271 @winton README
authored
51 rbackup documents
a245394 @winton README
authored
52 // back up documents only
cf81d51 @winton Version 0.1.2
authored
53 rbackup
a245394 @winton README
authored
54 // back up and deploy everything
1f4eeba @winton Version 0.1.0
authored
55 </pre>
Something went wrong with that request. Please try again.