1 |
I probably didn't get the point, but what about a simple "tar"? |
2 |
|
3 |
#! /bin/bash |
4 |
tar -cjvpf /tmp/home.tbz /home |
5 |
mv /tmp/home.tbz /some/where/else |
6 |
|
7 |
unless you're thinking on incremental back up, and more sophisticated things. |
8 |
|
9 |
Francisco |
10 |
|
11 |
On Tue, Dec 22, 2009 at 1:22 AM, Dale <rdalek1967@×××××.com> wrote: |
12 |
> Hi folks, |
13 |
> |
14 |
> Me again. I'm thinking about writing a bash script that backs up my /home |
15 |
> directory. I found a guide but before I read all that stuff and muddy up |
16 |
> the waters, is this thing current and will it work fine with the bash Gentoo |
17 |
> uses? Links to a even better guide would be good too. The guide I found is |
18 |
> here: |
19 |
> |
20 |
> http://tldp.org/LDP/abs/html/ |
21 |
> |
22 |
> I'm going to try to do this myself but as most of you know, it takes me a |
23 |
> bit to grasp things. I may be back for advice on this as well. Who knows, |
24 |
> maybe one day I can be a dev. LOL Well, most likely not really but anyway. |
25 |
> |
26 |
> Thanks. |
27 |
> |
28 |
> Dale |
29 |
> |
30 |
> :-) :-) |
31 |
> |
32 |
> |
33 |
|
34 |
|
35 |
|
36 |
-- |
37 |
"If you have an apple and I have an apple and we exchange apples then |
38 |
you and I will still each have one apple. But if you have an idea and |
39 |
I have one idea and we exchange these ideas, then each of us will have |
40 |
two ideas." - George Bernard Shaw |