Hi
just testing out my echomail config....
hoping this works...
Awesome! woot woot! thanks so much for helping me out with this.
i am going to take a tar.7z back of the directory right now, so that way ifsomething goes wrong i can revert it to a working state. lol
tar cfv mystic-BACKUP-20210114.tar mystic
7z a mystic-BACKUP-20210114.tar.7z mystic-BACKUP-20210114.tar
i also upload the file to my nas system and also i need to back up a
copy todvd so i have a permenate copy.
I like the idea of keeping some copies on Google Drive, I'll have to set that up as well.
tar cfv mystic-BACKUP-20210114.tar mystic
7z a mystic-BACKUP-20210114.tar.7z mystic-BACKUP-20210114.tar
i also upload the file to my nas system and also i need to back up a copy todvd so i have a permenate copy.
I do something similar, I take nightly backups via a cron job:
tar cf - /home/pi/mystic | 7z a -si /tmp/nrbbs-`date +%F`.tar.7z
And then move that file (nrbbs-2021-01-15.tar.7z) to my NAS. I've been meaningto also script deleting older versions of those backup files
(there arecurrently 52 of them), but I have plenty of space on there, so I'm not tooworried.
Jay
gcubebuddy wrote to Black Panther <=-
tar cfv mystic-BACKUP-20210114.tar mystic
7z a mystic-BACKUP-20210114.tar.7z mystic-BACKUP-20210114.tar
Warpslide wrote to gcubebuddy <=-
tar cf - /home/pi/mystic | 7z a -si /tmp/nrbbs-`date +%F`.tar.7z
Is 7zip really that much more compressy than gzip? Asking for a friend with a lot of text files.
On 01-16-21 09:46, poindexter FORTRAN wrote to gcubebuddy <=-
gcubebuddy wrote to Black Panther <=-
tar cfv mystic-BACKUP-20210114.tar mystic
7z a mystic-BACKUP-20210114.tar.7z mystic-BACKUP-20210114.tar
If you add a z option to your tar command it'll use gzip to compress
your archive in one step. You'd want to use a .tar.gz suffix. You could probably do bzip2 from the tar command line these days, it's been a
while since I've done this.
On 01-16-21 17:01, Warpslide wrote to poindexter FORTRAN <=-
On 16 Jan 2021, poindexter FORTRAN said the following...
Is 7zip really that much more compressy than gzip? Asking for a friend with a lot of text files.
~ $ tar cf - /home/pi/mystic | 7z a -si test.tar.7z
~ $ ll test.tar.7z
-rw-r--r-- 1 pi pi 49M Jan 16 16:54 test.tar.7z
~ $ tar -czvf test.tar.gz /home/pi/mystic
~ $ ll test.tar.gz
-rw-r--r-- 1 pi pi 95M Jan 16 16:49 test.tar.gz
Warpslide wrote to gcubebuddy <=-
tar cf - /home/pi/mystic | 7z a -si /tmp/nrbbs-`date +%F`.tar.7z
Is 7zip really that much more compressy than gzip? Asking for a friend with a lot of text files.
... alphabetise the alphabet (it's all wrong. will explain later)
-rw-r--r-- 1 pi pi 49M Jan 16 16:54 test.tar.7z
-rw-r--r-- 1 pi pi 95M Jan 16 16:49 test.tar.gz
What about tar -jcvf test.tar.bzip2 ?
tar cfv mystic-BACKUP-20210114.tar mystic
7z a mystic-BACKUP-20210114.tar.7z mystic-BACKUP-20210114.tar
If you add a z option to your tar command it'll use gzip to compress
your archive in one step. You'd want to use a .tar.gz suffix. You could pF>> probably do bzip2 from the tar command line these days, it's been a
while since I've done this.
Use j instead of z for bzip2. :)
In recent versions, you can also use J for xz compression. :)
I do something similar, I take nightly backups via a cron job:
tar cf - /home/pi/mystic | 7z a -si /tmp/nrbbs-`date +%F`.tar.7z
gupload -q /tmp/nrbbs-`date +%F`.tar.7z
And it uploads that file to my Google Drive before it's then moved to my NAS.
On 01-17-21 09:23, Warpslide wrote to Vk3jed <=-
On 17 Jan 2021, Vk3jed said the following...
-rw-r--r-- 1 pi pi 49M Jan 16 16:54 test.tar.7z
-rw-r--r-- 1 pi pi 95M Jan 16 16:49 test.tar.gz
What about tar -jcvf test.tar.bzip2 ?
~ $ tar -jcvf test.tar.bzip2 /home/pi/mystic
~ $ ll test.tar.bzip2
-rw-r--r-- 1 pi pi 61M Jan 17 09:03 test.tar.bzip2
And because there would be more messages received since yesterday, and
the logs are bigger, I decided to run the other two again just for a
fair comparison:
-rw-r--r-- 1 pi pi 96M Jan 17 09:09 test.tar.gz
-rw-r--r-- 1 pi pi 49M Jan 17 09:19 test.tar.7z
And the size of the uncompressed .tar:
-rw-r--r-- 1 pi pi 503M Jan 17 09:16 test.tar
On 01-17-21 18:24, acn wrote to Vk3jed <=-
Use j instead of z for bzip2. :)
In recent versions, you can also use J for xz compression. :)
Can't you run them (the upload to GD and the copy to NAS) both simultaneously?
By far the longest part of nightly maintenance is packing the messages bases and creating the actual .7z file. g00r00 recently said over on SciNet that I don't need to pack my message bases every night & that he only does it every couple of months, so I may re-visit that practice.
WARPSLIDE(21:3/110) wrote to Ogg <=-I usually like to pack the message bases daily. Clean out deleted messages, and make sure the msg base does not get
By far the longest part of nightly maintenance is packing the messages bases and creating the actual .7z file. g00r00 recently said over on SciNet that I don't need to pack my message bases every night & that he only does it every couple of months, so I may re-visit that practice.
Hi
just testing out my echomail config....
hoping this works...
Awesome! woot woot! thanks so much for helping me out with this.
i am going to take a tar.7z back of the directory right now, so that way ifsomething goes wrong i can revert it to a working state. lol
tar cfv mystic-BACKUP-20210114.tar mystic
7z a mystic-BACKUP-20210114.tar.7z mystic-BACKUP-20210114.tar
i also upload the file to my nas system and also i need to back up a
copy todvd so i have a permenate copy.
I like the idea of keeping some copies on Google Drive, I'll have to set that up as well.
tar cfv mystic-BACKUP-20210114.tar mystic
7z a mystic-BACKUP-20210114.tar.7z mystic-BACKUP-20210114.tar
i also upload the file to my nas system and also i need to back up a copy todvd so i have a permenate copy.
I do something similar, I take nightly backups via a cron job:
tar cf - /home/pi/mystic | 7z a -si /tmp/nrbbs-`date +%F`.tar.7z
And then move that file (nrbbs-2021-01-15.tar.7z) to my NAS. I've been meaningto also script deleting older versions of those backup files
(there arecurrently 52 of them), but I have plenty of space on there, so I'm not tooworried.
Jay
gcubebuddy wrote to Black Panther <=-
tar cfv mystic-BACKUP-20210114.tar mystic
7z a mystic-BACKUP-20210114.tar.7z mystic-BACKUP-20210114.tar
Warpslide wrote to gcubebuddy <=-
tar cf - /home/pi/mystic | 7z a -si /tmp/nrbbs-`date +%F`.tar.7z
Is 7zip really that much more compressy than gzip? Asking for a friend with a lot of text files.
On 01-16-21 09:46, poindexter FORTRAN wrote to gcubebuddy <=-
gcubebuddy wrote to Black Panther <=-
tar cfv mystic-BACKUP-20210114.tar mystic
7z a mystic-BACKUP-20210114.tar.7z mystic-BACKUP-20210114.tar
If you add a z option to your tar command it'll use gzip to compress
your archive in one step. You'd want to use a .tar.gz suffix. You could probably do bzip2 from the tar command line these days, it's been a
while since I've done this.
On 01-16-21 17:01, Warpslide wrote to poindexter FORTRAN <=-
On 16 Jan 2021, poindexter FORTRAN said the following...
Is 7zip really that much more compressy than gzip? Asking for a friend with a lot of text files.
~ $ tar cf - /home/pi/mystic | 7z a -si test.tar.7z
~ $ ll test.tar.7z
-rw-r--r-- 1 pi pi 49M Jan 16 16:54 test.tar.7z
~ $ tar -czvf test.tar.gz /home/pi/mystic
~ $ ll test.tar.gz
-rw-r--r-- 1 pi pi 95M Jan 16 16:49 test.tar.gz
Warpslide wrote to gcubebuddy <=-
tar cf - /home/pi/mystic | 7z a -si /tmp/nrbbs-`date +%F`.tar.7z
Is 7zip really that much more compressy than gzip? Asking for a friend with a lot of text files.
... alphabetise the alphabet (it's all wrong. will explain later)
-rw-r--r-- 1 pi pi 49M Jan 16 16:54 test.tar.7z
-rw-r--r-- 1 pi pi 95M Jan 16 16:49 test.tar.gz
What about tar -jcvf test.tar.bzip2 ?
tar cfv mystic-BACKUP-20210114.tar mystic
7z a mystic-BACKUP-20210114.tar.7z mystic-BACKUP-20210114.tar
If you add a z option to your tar command it'll use gzip to compress
your archive in one step. You'd want to use a .tar.gz suffix. You could pF>> probably do bzip2 from the tar command line these days, it's been a
while since I've done this.
Use j instead of z for bzip2. :)
In recent versions, you can also use J for xz compression. :)
I do something similar, I take nightly backups via a cron job:
tar cf - /home/pi/mystic | 7z a -si /tmp/nrbbs-`date +%F`.tar.7z
gupload -q /tmp/nrbbs-`date +%F`.tar.7z
And it uploads that file to my Google Drive before it's then moved to my NAS.
On 01-17-21 09:23, Warpslide wrote to Vk3jed <=-
On 17 Jan 2021, Vk3jed said the following...
-rw-r--r-- 1 pi pi 49M Jan 16 16:54 test.tar.7z
-rw-r--r-- 1 pi pi 95M Jan 16 16:49 test.tar.gz
What about tar -jcvf test.tar.bzip2 ?
~ $ tar -jcvf test.tar.bzip2 /home/pi/mystic
~ $ ll test.tar.bzip2
-rw-r--r-- 1 pi pi 61M Jan 17 09:03 test.tar.bzip2
And because there would be more messages received since yesterday, and
the logs are bigger, I decided to run the other two again just for a
fair comparison:
-rw-r--r-- 1 pi pi 96M Jan 17 09:09 test.tar.gz
-rw-r--r-- 1 pi pi 49M Jan 17 09:19 test.tar.7z
And the size of the uncompressed .tar:
-rw-r--r-- 1 pi pi 503M Jan 17 09:16 test.tar
On 01-17-21 18:24, acn wrote to Vk3jed <=-
Use j instead of z for bzip2. :)
In recent versions, you can also use J for xz compression. :)
Can't you run them (the upload to GD and the copy to NAS) both simultaneously?
By far the longest part of nightly maintenance is packing the messages bases and creating the actual .7z file. g00r00 recently said over on SciNet that I don't need to pack my message bases every night & that he only does it every couple of months, so I may re-visit that practice.
WARPSLIDE(21:3/110) wrote to Ogg <=-I usually like to pack the message bases daily. Clean out deleted messages, and make sure the msg base does not get
By far the longest part of nightly maintenance is packing the messages bases and creating the actual .7z file. g00r00 recently said over on SciNet that I don't need to pack my message bases every night & that he only does it every couple of months, so I may re-visit that practice.
Sysop: | CyberNix |
---|---|
Location: | London, UK |
Users: | 22 |
Nodes: | 10 (0 / 10) |
Uptime: | 10:14:44 |
Calls: | 892 |
Files: | 4,436 |
Messages: | 669,233 |