How to recover files on cpanel after deleting from trash folder? - server

All files are deleted from trash it's looking empty. anyway to recover my files and folders?
Image

You need to see if your hosting provider offers backups for your account - if they do you can restore from there, the most used options are R1 Soft and JetBackup
Unless you have your own backups those files are lost permanently.

Related

Deleting files and folders from a helix server while keeping them on the pc

I am new to perforce, i submittet my previous project to it as asked and added the p4ignore later. but now i dont want the files from the p4ignore like the .vscode folder on the server however when i try to mark for delete it also deletes them from my machine. how can i remove them on my server but keep them on the local machines
You probably want to use the p4 obliterate command; this is used to permanently remove files from the server (including all their history), which will leave your local files in an untracked state. Note that this requires admin level permission since file history is normally considered immutable.
If you can't get an admin to help with this, you can use the p4 delete -k command to open the files for delete while keeping the local files. This is a little tricky because it still results in a deleted revision, and if you're not careful you might end up getting surprised at some point by having a sync operation delete your local files (e.g. a force sync may delete your local files to force them into agreement with the head depot revision even though they aren't on the client have list).
To avoid that potential problem, after you delete the files, exclude them from your client view. That will not only prevent them from being added (similar to .p4ignore) but will also firmly exclude them from any operation that touches client files, including sync. (I usually recommend using the client view to exclude files in the first place instead of p4ignore -- it has the advantage of being tracked on the server, and it also prevents you from syncing down "ignored" files submitted by other workspaces whose settings don't match yours.)
tl;dr: use obliterate for mistakenly added files if you can, otherwise use a combination of delete -k and client view tuning to make sure the depot and client files are hidden from each other.

Deleteing a repository in Visual Studio Code

where can I find .git folder to delete a repo on my system. I opened my local disk as a repository and I have about 5k changes to make.The thing is if I check my git account my local disk is not showing as a repo so i really dont know what is going on. Any solution will be welcomed.
Among the "5k changes", select a file and open it in your file browser. Enable hidden files/folders. Start moving up the hierarchy of that path, i.e., keeping going up in the parent directory of the file.
You'll find the .git folder somewhere. Check its creation date. If it's recent, delete it. Be careful not to delete any commits you had made in some project.

Restore corrupted TFS files from $tf\ .gz files?

My hard disk had errors and I lost a number of files before they could be checked in. But I'm wondering if there's a way to look in the \$tf folder's .gz files to restore the files that were lost and not checked in? Any chance a diff version was saved in there that I can restore from?
But I'm wondering if there's a way to look in the \$tf folder's .gz files to restore the files that were lost and not checked in?
I am afraid you could not to restore the files based on the .gz files.
The .gz files are generated when mapping sources, which keeps a hash and some additional information on all file in the workspace so that it can do change tracking for Local Workspaces and quickly detect the changes in the files. But it does not contain source files. If you do not check the source files in the source control, TFS could not restore those files from the source.
To restore those files, you need to find a way to recover hard disk data.
Hope this helps.

Restore deleted files on GCS, versioning off?

Accidentally we deleted some images files from our GCS bucket which didn't have the "versioning" activated (it was OFF).
Is it still a way we could restore these deleted files?
Unfortunately, no.
GCS objects generally cannot be recovered after being permanently deleted by a user.
There is no way to restore a deleted object unless versioning is enabled on a bucket.

How to recover deleted folder from Netbeans project?

Accidently deleted the wrong folder from Netbeans! Can it be recovered?
You can Start with this simple tip :
1- Right click on the folder/directory that the files had been deleted.
2- Choose Local History – Restore Deleted
3- Done
If it doesn't Work you will need to use a recovery software :
I highly recommend R-Studio, the demo version might be able to recover your files: r-studio.com
Or you can also use recuva
If you accidentally delete a folder on Netbean, the way to recover it is as follows. You can't revert deleted folders but you can revert deleted files. Follow these steps.
Recreate the folder you deleted in your Netbean project. (You may
not be able to create the folder within Netbean, in that case you
can use mkdir command to create the folder )
Right click that folder in Netbeans and go to History -> revert
deleted (you should see a list of deleted files that relate to that
particular folder.
Repeat for each folder and sub-folder
Note: This solution work for both Windows and Linux.
Source : follow this link.
I had the same problem as well and get it solved with the solution of this post.