
Entre várias atividades que envolve o DBA no seu dia-a-dia está a exportação de dados e às vezes importação. Sendo assim, neste post, estarei simplemesmente abordando o fato de gerar o arquivo de dump com a data, o que às vezes é essencial se você possui apenas um lugar de armazenamento de arquivos de dumps e com a data anexada será fácil a identificação de cada arquivo. Com isso, para executar a tarefa mencionada anteriormente basta-se colocar a sintaxe `date +%b_%d_%y_%H_%M_%S.` durante o nome do objeto se estiver utilizando um sistema LINUX e/ou UNIX.
Segue um exemplo abaixo:
expdp \'/ as sysdba\' directory=BRUNODB_bkp dumpfile=BRUNODB_`date +%b_%d_%y_%H_%M_%S.`dmp logfile=BRUNOdb_`date +%b_%d_%y_%H_%M_%S.`log full=y FEEDBACK=1000


*The views expressed here are my own and do not represent those of my employer.*
Hello, I’m Bruno — a dual citizen of Brazil and Sweden. I bring a global perspective shaped by experiences in both South America and Europe, with a strong focus on collaboration and innovation across cultures. I am a Computer Scientist, PhD Candidate in Information and Communication Technologies, focusing on Data Science and Artificial Intelligence, and hold dual Master’s degrees in Data Science and Cybersecurity. With over fifteen years of international experience spanning Brazil, Hungary, and Sweden, I have collaborated with global organizations such as IBM, Playtech, and Oracle, as well as contributed remotely to projects across multiple regions. My professional interests include Databases, Cybersecurity, Cloud Computing, Data Science, Data Engineering, Big Data, Artificial Intelligence, Programming, and Software Engineering, all driven by a deep passion for transforming data into strategic business value.