sudo duplicity restore --file-to-restore folder/ --time '2018-08-06T05:00:00+02:00' azure://container ./backup/folder/
duplicity list
duplicity list-current-files azure://container
duplicity collection-status azure://container
Categoria: Programador
Posts sobre meu trabalho como programador.
Upgrade DBeaver Community with HomeBrew
brew upgrade --cask dbeaver-community
HTML Entities Reference
Delete all local untracked branches from GIT
This is a very handy command for cleaning up all the branches you already merged and closed on origin GIT server. Feel free to use and comment if you have any issues.
git branch -r | awk '{print $1}' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '{print $1}' | xargs git branch -d
Link of the Gist to share and comment.
Also, some branches are not fully merged and will need to be deleted manually. Then you use:
git branch -D branch_name
Hope that it helps you!
Jenkins configuration for Nginx reverse proxy
In this configuration, everything works fine and you won’t see the error.
“It appears that your reverse proxy set up is broken”
Note that on line 31, the addresses don’t have slash (/) at the end. This is the correct configuration.
Import Database from Backup File on SQL Server for Linux / Docker
Install Duplicity on Ubuntu Linux and use Azure Storage as backup destination
Use the following code to install Duplicity to backup the files to Azure Backup
Now you can use the command to run duplicity backup:
duplicity full /source/dir azure://containername
See the reference on this page.
SSL Server Test
Flush Cache OS X Sierra
sudo killall -HUP mDNSResponder
sudo killall mDNSResponderHelper
sudo dscacheutil -flushcache
SQL Client for Mac
With DBeaver you can run the same as SQL Server Management Studio on a Mac or Linux. With very good integration and drivers automatically downloaded.