Archiving Deleted Data
As a Developer, there is one of the rules of programming I hate the most, data archiving. I remember when I defended on our thesis to the panels, they asked, “What happens if I deleted this one?”, And I answered, “It will be deleted in database Ma’am.” Then a sudden question asked, “Do you hear the term archive?” A question mark on my face triggered. I told them that I heard the term but didn’t focus on its meaning.
In doing programs, you must code to archive first before deleting data; it can save your record when you accidentally deleted it.
As time passed by, the word “archive” means a lot to me, especially when I’m doing some projects in my work. I am doing a hard-coded project which gave me the opportunity to create a feature that can delete; then I did what I’ve done in our thesis, I didn’t archive first and deleted the data again immediately in the database. Then, the Product Owner said to me, “it should not be deleted right away, the status must only change to trash.” I thought those deleted data has nothing to do with the project, it will just occupy another space and slow down the program.
Nowadays, as technology grows, the functionality of programs became easier to use, when you click a button, you can save, update or delete data. Sometimes, even the data that you have worked hard for days or months can be deleted in one click. The security of data is always at risk particularly in deletion because of the advancement of technology, but data archiving is one of the solutions for it. Archiving deleted data means that deleted data can be restored because sometimes, data is not intended to be deleted by users or it can be usable again.
Data archiving is the process wherein the unused or occasionally used data will be moved into separate storage. The separation of data will be the way to have the primary data more space in saving. Thus, it negates my thinking before, and I learned that the proper way of deleting a file is to archive first. In some systems, deleting ability is not present in the functionality because they believe that the data is not necessarily needed to be deleted, it can only be updated because of security. There are lots of technique when it comes to data archiving, and one of those deleted data archiving which to protect the user from accidental deletion.
Send us your questions on G Suite
Related Blog Post
What is Ajax?
Ajax and javascript are great for creating dynamic web applications, but before we discuss the AJAX let us first talk about how the browser works. The browser gets information to display a page. How does it work? When a browser request a page from the website the...
Microsoft Azure
Today we are living in the internet era or what commonly known as “Information age.” A lot of technology invented rapidly, like chatbot, web application like Facebook, Twitter, Instagram, and Snapshot, etc., but have you ever think that how did you access these kind...
The Never Endless Bug
Bug? If you are an ordinary person the one inlet in your mind about a bug is like a pesky worm or virus, but no, as a developer in our daily working experience we always encounter different bugs. That was super annoying but we have no choice because debugging is a...