Question of SQL backup database to destination folder by bat file

I use a bat file to backup databases to destination folder as below. @ECHO OFF SETLOCAL REM Get date in format YYYY-MM-DD (assumes the locale is the United States) FOR /F "tokens=1,2,3,4 delims=/ " %%A IN (‘Date /T’) DO SET NowDate=%%D-%%B-%%C REM Build a list of databases to backup SET DBList=D:\SQLDBList.txt SqlCmd -E -S EvergrandERP2… Read More Question of SQL backup database to destination folder by bat file

Saving various files in different folders into one single folder using powershell

I have a 3 folders here with 3 files. Within each there is a csv file, I want to save them all into a destination folder without having to open each folder and drag and drop the file into the destination folder. I attempted this. $destination = "C:\Desktop\Test" $sourcefiles = get-childitem -recurse foreach ($file in… Read More Saving various files in different folders into one single folder using powershell

How i can create a Regular Expression to return (0/00/00, 00:00, myName, message) from '0/00/00, 00:00 – myName: my message'?

I’m creating a app to transform whatsapp backup .txt into a .json and .csv files. My app it’s working but i am refactoring now. This code snippet currently solves my problem using js: function stringToObject(string) { let commaSepareted = string.split(‘,’) let date = commaSepareted[0] if(commaSepareted.length >= 2){ let hyphenSepareted = commaSepareted.filter((_, index) => index >=… Read More How i can create a Regular Expression to return (0/00/00, 00:00, myName, message) from '0/00/00, 00:00 – myName: my message'?

How can I make automatic, full system backups of Ubuntu during normal use (like Macrium Reflect for Windows)

I want to be able to make backups of my Ubuntu install automatically, during normal use. It’s important that this is an automatic process because I’m not going to remember to regularly boot into another environment to make a backup. This rules out most of the things I see suggested, like using dd, or CloneZilla,… Read More How can I make automatic, full system backups of Ubuntu during normal use (like Macrium Reflect for Windows)