[PLUG] BASH script make a backup...
michael at robinson-west.com
michael at robinson-west.com
Sat Apr 4 20:03:38 UTC 2020
Of course, leave off the $ when defining a variable in Bash!
I'm using the following tar invocation:
tar --one-file-system -cvjf foo.tar.bz2 foo/
Is there a way to tar up symbolic links as links?
What about permissions?
Should I run this as root in runlevel 1?
April 4, 2020 2:10 PM, "Galen Seitz" <galens at seitzassoc.com> wrote:
> On 4/4/20 11:45 AM, michael at robinson-west.com wrote:
>
>> #!/bin/bash
>>
>> $dump_dir="/home/Shared/backup/"
>
> ^ -- I don't think you want that dollar sign.
>
> [galens at toto ~]$ dump_dir="/tmp/foo"
> [galens at toto ~]$ echo $dump_dir
> /tmp/foo
> [galens at toto ~]$ mkdir -v $dump_dir
> mkdir: created directory ‘/tmp/foo’
>
> galen
> --
> Galen Seitz
> galens at seitzassoc.com
> _______________________________________________
> PLUG mailing list
> PLUG at pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
I'm backing up my debian buster filtering gateway, though it doesn't exactly filter, and getting
ready to set Buster back up from scratch without X Windows and Gnome 3.
I've been having problems with power management via gdm most likely, probably fixed.
Thing is, when I unplugged the cable modem the networking got borked up really bad. There's been spotty service,
so I'm thinking my issue to look for is a network issue. Maybe network manager is to blame. Perhaps it's an IPv6
thing. Not exactly sure.
Instead of starting over, could I uninstall X Windows from the existing system in console mode for troubleshooting?
I think with X gone that network manager will go too which may be the source of my networking problems.
More information about the PLUG
mailing list