hard drive – Can PC be turned off when running ddrescue?

I am trying to run ddrescue to recover data from a 500GB HDD. I have read everywhere that it’s possible to clone a disk with ddrescue. It can even be resumed from a certain point where it left off if I create a log file. But is it possible to actually interrupt the process and turn of the PC for resuming later on with the log file?

I am asking this since it might take quite some time to recover a HDD that big, so I need to plan on when to do the recovery.

File system of Android 10 running devices

I have a samsung A30 cellphone that runs Android 10 and I basically need to recover my deleted files. In order to do that, I need to know the filesystem because forensic tools require such information. I made a small research, but I couldn’t find any information on Android 10 OS’s file system. So what I am asking is what file system does Android 10 have and do file systems depend on Android versions? Any help will be appreciated.

sql server – Job management: How to get the next running date by querying MSDB

Table sysjobschedules contains 2 columns next_run_date and next_run_time. With the help of sysschedules and column enable it should be easy to determine the next running date/time of a specific job.

However, when you change a schedule, sysjobschedules is only refreshed 20 minutes after alteration by the Sql Server Agent.

Table sysjobactivity contains a datetime next_schedule_run_date which is updated in real time.

But I’ve failed to see how to link sysjobactivity to sysschedules since it doesn’t contain a column to identify the id of the schedule.

Can someone help?

virtual machines – Running a single vm on hypervisor or kvm over a distributed clusture

I know somewhat about Beowulf cluster and linux virtual server. But I want to know if there exist a way to run an os on two or more nodes in cluster-unware mode. I mean the os will just seet the total number of cpu cores and total memory.

A possible approach I though is to run a hypervisor or kvm on a lvs/ cluster manager like mosix etc. The vm manager then will allocate required resources.

I do not want high availability or load balancing here. If one node fails, it’s ok for the vm to crash/ misbehave.

Any insight is more than welcome.

My rooted tablet running 4.2.2 won’t Factory Reset? How can I create whatever file might be missing?

I have ADB enabled and wiped data but my tablet is still in a boot loop. I have another tablet that’s been altered nearly identical to the boot looped tablet so I’m wondering if I can copy a file using my cable that’ll fix my issue.
*I don’t believe a recovery.img file exists on either tablet or idk how to find it as I’m VERY NEW to any type of mods.
*When attempting factory reset with hard buttons the recovery screen flashes for a split second but tablet immediately reboots into a boot loop.
*ADB command wipe data did a wipe but tablet still won’t boot up completely.

apt – How to install older version of mariadb galera cluster to match the running galera cluster versions?

I have following collected deb packages:

~/mariadb_deb_packages$ ll
total 18728
drwxrwxr-x 2 ciasto ciasto    4096 Nov 24 22:47 ./
drwxr-xr-x 7 ciasto ciasto    4096 Nov 24 22:44 ../
-rw-r--r-- 1 ciasto ciasto  821668 Apr 28  2017 galera-3_25.3.20-1_arm64.deb
-rw-r--r-- 1 ciasto ciasto    6320 Apr  2  2019 libaio1_0.3.110-5ubuntu0.1_arm64.deb
-rw-r--r-- 1 ciasto ciasto 4965688 Oct 26 19:18 mariadb-client-10.1_1%3a10.1.47-0ubuntu0.18.04.1_arm64.deb
-rw-r--r-- 1 ciasto ciasto 4140088 Oct 26 19:18 mariadb-client-core-10.1_1%3a10.1.47-0ubuntu0.18.04.1_arm64.deb
-rw-r--r-- 1 ciasto ciasto   16068 Oct 26 19:18 mariadb-common_1%3a10.1.47-0ubuntu0.18.04.1_all.deb
-rw-r--r-- 1 ciasto ciasto 4535116 Oct 26 19:18 mariadb-server-10.1_1%3a10.1.47-0ubuntu0.18.04.1_arm64.deb
-rw-r--r-- 1 ciasto ciasto 4329988 Oct 26 19:18 mariadb-server-core-10.1_1%3a10.1.47-0ubuntu0.18.04.1_arm64.deb
-rw-r--r-- 1 ciasto ciasto   12904 Oct 26 19:18 mariadb-server_1%3a10.1.47-0ubuntu0.18.04.1_all.deb
-rw-r--r-- 1 ciasto ciasto  321936 Apr  4  2018 socat_1.7.3.2-2ubuntu2_arm64.deb
~/mariadb_deb_packages$ sudo dpkg -i mariadb-server_1%3a10.1.47-0ubuntu0.18.04.1_all.deb 
(Reading database ... 49379 files and directories currently installed.)
Preparing to unpack mariadb-server_1%3a10.1.47-0ubuntu0.18.04.1_all.deb ...
Unpacking mariadb-server (1:10.1.47-0ubuntu0.18.04.1) over (1:10.1.47-0ubuntu0.18.04.1) ...
dpkg: dependency problems prevent configuration of mariadb-server:
 mariadb-server depends on mariadb-server-10.1 (>= 1:10.1.47-0ubuntu0.18.04.1); however:
  Package mariadb-server-10.1 is not installed.

dpkg: error processing package mariadb-server (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 mariadb-server
~/mariadb_deb_packages$ sudo dpkg -i mariadb-server-core-10.1_1%3a10.1.47-0ubuntu0.18.04.1_arm64.deb
dpkg: regarding mariadb-server-core-10.1_1%3a10.1.47-0ubuntu0.18.04.1_arm64.deb containing mariadb-server-core-10.1:
 mariadb-server-core-10.1 breaks mysql-client-5.5
  mariadb-client-10.4 provides mysql-client-5.5 and is present and installed.

dpkg: error processing archive mariadb-server-core-10.1_1%3a10.1.47-0ubuntu0.18.04.1_arm64.deb (--install):
 installing mariadb-server-core-10.1 would break mariadb-client-10.4, and
 deconfiguration is not permitted (--auto-deconfigure might help)
Errors were encountered while processing:
 mariadb-server-core-10.1_1%3a10.1.47-0ubuntu0.18.04.1_arm64.deb
~/mariadb_deb_packages$ sudo dpkg -i mariadb-client-10.1_1%3a10.1.47-0ubuntu0.18.04.1_arm64.deb
dpkg: regarding mariadb-client-10.1_1%3a10.1.47-0ubuntu0.18.04.1_arm64.deb containing mariadb-client-10.1:
 mariadb-client-10.1 conflicts with mysql-client-core-5.5
  mariadb-client-core-10.4 provides mysql-client-core-5.5 and is present and installed.

dpkg: error processing archive mariadb-client-10.1_1%3a10.1.47-0ubuntu0.18.04.1_arm64.deb (--install):
 conflicting packages - not installing mariadb-client-10.1
Errors were encountered while processing:
 mariadb-client-10.1_1%3a10.1.47-0ubuntu0.18.04.1_arm64.deb
~/mariadb_deb_packages$ sudo dpkg -i mariadb-client-core-10.1_1%3a10.1.47-0ubuntu0.18.04.1_arm64.deb
dpkg: regarding mariadb-client-core-10.1_1%3a10.1.47-0ubuntu0.18.04.1_arm64.deb containing mariadb-client-core-10.1:
 mariadb-client-core-10.1 conflicts with mysql-client-5.5
  mariadb-client-10.4 provides mysql-client-5.5 and is present and installed.

dpkg: error processing archive mariadb-client-core-10.1_1%3a10.1.47-0ubuntu0.18.04.1_arm64.deb (--install):
 conflicting packages - not installing mariadb-client-core-10.1
Errors were encountered while processing:
 mariadb-client-core-10.1_1%3a10.1.47-0ubuntu0.18.04.1_arm64.deb
~/mariadb_deb_packages$ sudo apt purge mariadb-client-10.4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 mariadb-client : Depends: mariadb-client-10.4 (>= 1:10.4.17+maria~bionic) but it is not going to be installed
 mariadb-client-core-10.4 : Depends: mariadb-common (>= 1:10.4.17+maria~bionic) but 1:10.1.47-0ubuntu0.18.04.1 is to be installed
 mariadb-server : Depends: mariadb-server-10.1 (>= 1:10.1.47-0ubuntu0.18.04.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
~/mariadb_deb_packages$ sudo apt purge mariadb-client
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 mariadb-client-core-10.4 : Depends: mariadb-common (>= 1:10.4.17+maria~bionic) but 1:10.1.47-0ubuntu0.18.04.1 is to be installed
 mariadb-server : Depends: mariadb-server-10.1 (>= 1:10.1.47-0ubuntu0.18.04.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
~/mariadb_deb_packages$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  galera-4 mariadb-common mariadb-server mariadb-server-10.4 mariadb-server-core-10.4
Suggested packages:
  mailx mariadb-test tinyca
Recommended packages:
  libhtml-template-perl
The following packages will be REMOVED:
  galera-3
The following NEW packages will be installed:
  galera-4 mariadb-server-10.4 mariadb-server-core-10.4
The following packages will be upgraded:
  mariadb-common mariadb-server
2 upgraded, 3 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 3532 B/19.5 MB of archives.
After this operation, 150 MB of additional disk space will be used.
Do you want to continue? (Y/n) n
Abort.
~/mariadb_deb_packages$ sudo apt remove mariadb-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libmariadb3 : Depends: mariadb-common but it is not going to be installed
 mariadb-client-10.4 : Depends: mariadb-common but it is not going to be installed
 mariadb-client-core-10.4 : Depends: mariadb-common (>= 1:10.4.17+maria~bionic) but it is not going to be installed
 mariadb-server : Depends: mariadb-server-10.1 (>= 1:10.1.47-0ubuntu0.18.04.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

I have tried removing individual but throws error

~/mariadb_deb_packages$ sudo apt remove libmariadb3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libmariadbclient18 : Depends: libmariadb3 (= 1:10.4.17+maria~bionic) but it is not going to be installed
 mariadb-client-core-10.4 : Depends: libmariadb3 but it is not going to be installed
                            Depends: mariadb-common (>= 1:10.4.17+maria~bionic) but 1:10.1.47-0ubuntu0.18.04.1 is to be installed
 mariadb-server : Depends: mariadb-server-10.1 (>= 1:10.1.47-0ubuntu0.18.04.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
~/mariadb_deb_packages$ sudo apt remove libmariadbclient18
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 mariadb-client-core-10.4 : Depends: mariadb-common (>= 1:10.4.17+maria~bionic) but 1:10.1.47-0ubuntu0.18.04.1 is to be installed
 mariadb-server : Depends: mariadb-server-10.1 (>= 1:10.1.47-0ubuntu0.18.04.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

can anyone please help me install maraidb galera cluster distrib 10.1.47 and its dependencies ?

docker – Deploying minimal OS for running Powershell scheduled tasks?

People,

I need your suggestion and guidance in deploying minimal Operating System to run multiple Powershell Scheduled tasks on my OnPremise Hypervisor VMware v6.7

Typically, I am installing these modules

Active Directory
VMware PowerCLI,
Microsoft 365 (Office 365) 
Azure reporting.

Which one should be better for my scenario above?

Docker
Windows Server Core
Windows Server Nano

Thank you in advance.

linux – Transmission Daemon running under custom user trying to load config from wrong path

I have transmission daemon 2.94 running as a service on a Debian 10 machine.

I changed the user running transmission daemon from default debian-transmission to www-data Apache user, since I want the save files to be readable by Apache and the opposite, Apache files to be readable by transmission.

To do that, I changed to the user setting from the following config files:

  • User=www-data in /lib/systemd/system/transmission-daemon.service
  • USER=www-data in /etc/init.d/transmission-daemon
  • setuid www-data and setgid www-data in /etc/init/transmission-daemon.conf

The transmission JSON config file still resides in /etc/transmission-daemon/settings.json. I made sure both directories /var/lib/transmission-daemon and /etc/transmission-daemon were owned by the new user www-data.

But when I relaunch the service with sudo systemctl start transmission-daemon or sudo service transmission-daemon start, I get the following in the transmission logs:

Couldn't create "/var/www/.config": Permission denied (file-posix.c:189)
Couldn't read "/var/www/.config/transmission-daemon/settings.json": No such file or directory (utils.c:238)
Couldn't save temporary file "/var/www/.config/transmission-daemon/settings.json.tmp.jq3qtN": No such file or directory (variant.c:1285)

…and other similar errors.

So it would seem transmission-daemon is trying to use the www-data user home path and recreate its config directory here.

Why is that and how can I make transmission using the previous default config path? I don’t see any transmission configuration depending on the user home path.

Side question: what is the difference between all those three config files where you set up the user running the service?

Wondering if I can run drivers on my Dell XPS that was originally running Windows

My DELL XPS L701X Originally came with Windows 7 installed. I changed out my hard drive and installed Ubuntu 20.10 on it but it has JBL Waves MaxxAudio3 and i wanted to get drivers for it.