Beiträge von LooR
-
-
My omv goes into hypernate via autoshutdown when I shutdown my windows pc. When I restarted Win was also my omv smb drive immediately mounted again, ran for years flawlessly. I think since one of the salt updates about a month ago I have to restart the server every time so I can access my OMV under Windows again.
-
I use a script to dump, compress and delete old sql dumps.
Bash
Alles anzeigen#!/bin/bash user="root" password="geheim" db2="alldump" backup_path="/media/983cbc4d-f06f-465b-a931-525b26a21dd7/backup/server#1/mysql" date=$(date +"%d-%b-%Y") echo "Backing up mysql databases..." if [ -f "$backup_path/$db2-$date.sql.lz4" ]; then rm -fv $backup_path/$db2-$date.sql* fi echo "Dumping databases..." mysqldump --single-transaction --skip-lock-tables --user=$user --password=$password --all-databases > $backup_path/$db2-$date.sql echo "Compressing databases..." lz4 $backup_path/$db2-$date.sql > $backup_path/$db2-$date.sql.lz4 chmod 600 $backup_path/$db2-$date.sql.lz4 # Delete lz4 files older than 60 days and Delete sql files older than 30 days echo "Checking for old files..." find $backup_path/* -type f -mtime +60 -name 'alldump*' | head -n -5 | xargs rm {} \; find $backup_path/* -type f -mtime +30 -name 'alldump*.sql' | head -n -5 | xargs rm {} \; echo "Done."
You can try that line whit Scheduled jobs, that example will delete sql dumps older then 30 days but keeps a minimum of 5 dumps.
find /backup_path -type f -mtime +30 -name '*.sql' | head -n -5 | xargs rm {} \;
but use it whit care, wrong path or filename wildcard and rm flush the wrong files
-
Bist du dir sicher das der Festplatten Spindown deine Vms abschießst? oder ist es vielmehr so das OMV mittels autoshutdown runterfährt?
-
It looks like both doesnt get logrotated anymore. Because that they hit the gui limit at 2001 pages.
I try to rotatet them manualy
Coderoot@omv:~# logrotate -vf /etc/logrotate.conf ... error: skipping "/var/log/autoshutdown.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation. ...
ok /var/log is 0777 openmediavault:openmediavault
i changed /var/log to 0775 root:root and its work again but why thats happen?
-
but available and updatet at /var/log? Any input is appreciated.
-
lol Chrome use CNNIC too, every important browser use it. If you dont like it u need to delete the CA from your Browser and not change the Browser.
-
https://en.wikipedia.org/wiki/Nirvana_fallacy! I think the point is u afraid your own shadow if you paranoic you cant use any modern electronic device and there is no excuse and no but, because you cant trust anybody.
-
@Enra @Rocologo @tinh_x7
Wosign cert is allready auditet and shipped whit firefox.
https://bugzilla.mozilla.org/show_bug.cgi?id=851435
But the funny thing is, the Big China CA CNNIC is shipped whit every big Browser for years and they realy belong to the China Department of Information.
https://freedom-to-tinker.com/…whether-trust-chinese-ca/ -
@raulfg3
I used that too in the past but Freefilesync installs the adware opencandy sometimes whitout asking you. -
Have some similar message today, anyway the update for openmediavault (2.1.15) and omvextrasorg (2.3) seems to be installed but remain at the update panel. If i try it whit apt-get this is happen.
Coderoot@omv:~# apt-get update && apt-get upgrade E: Missgestaltete Zeile 40 in Quellliste /etc/apt/sources.list.d/omv-extras-org-stoneburner.list (»dist parse«) E: Die Liste der Quellen konnte nicht gelesen werden.
Line 40 shows that -
If you a chinese dissident maybe you should use some other, if you enemy of the state like snowden a china ca will not help you much but its better then one from usa because a china company give a fuck about a security letter from there. But for nobodys like you and me i think its doesnt matter
-
https://buy.wosign.com/free/
If you need now and quick a a ssl cert for free, No personal information needed. -
Windows build in robocopy togheter whit taskplaner meets that claims except its not opensource but shipped whit every windows, use it whit yarcgui for more "easy" setup.
-
im interestest too because Kernel 4.1 inroduce encryption for ext4
-
@whitetiger you try?
-
I doesnt remember the solution but the workaround. If you use Firefox copy the url and use the inkognito/private mode from Firefox or delete the cache.
-
Can we get SHUTDOWNCOMMAND="pm-suspend-hybrid" to the Autoshutdown plugin gui so i no need change it at the config file again if i change something other whit the gui?
The command works for me flawless for months and i think its the best choice of all pm-command. For save use the swap need to be slightly larger than then the memory if im not wrong.
-
shadowzero im not the thread starter but i try to give him a advice.
But yes for what you ask:
i have a smb share enabled on my omv. I create the vm at my win pc and copied it to share.I use 2 differnt ways but everyone is independ.
1. I work whit my local win7 workstation Installation and the vm run localy but the vm files stay at the omv share
2. i installed a second Workstation at the omv as headless server and the vm runs there but i can connect or edit this vm from and whit my local Workstation Installation. (or VNC. Temaviewer ect.)
-
I run Vm Workstation 11 as Server on my omv and localy at my win pc. Its possible run both ways. I can run the vm local at my win pc and only load/save the vm over smb from/to the omv 100% equal to a local hdd. And i can run the vm at the omv box and only connect remotly whit the "connect to a remote server" feature.